cwbNL_LoadMenu

Purpose

This routine will control the loading of the given menu from a module and replacing the translatable text within the menu.

Syntax

 
HWND CWB_ENTRY cwbNL_LoadMenu(
                     HWND      windowHandle,
                     HINSTANCE menuResourceHandle,
                     USHORT    menuID,
                     HINSTANCE MRIHandle);

Parameters

HWND windowHandle - input
Window handle of the dialog box that contains the menu.
HINSTANCE menuResourceHandle - input
Handle of the resource dll containing the menu.
USHORT menuID - input
ID of the menu for the dialog box.
HINSTANCE MRIHandle - input
Handle of the resource dll containing the strings for the menu.

Return Codes

The following list shows common return values.

HINSTANCE
Handle of the menu.

Usage

None