This routine will control the replacement of translatable text within a dialog box. This includes dialog control text as well as the dialog-box caption.
unsigned int CWB_ENTRY cwbNL_LoadDialogStrings( HINSTANCE MRIHandle, HWND windowHandle, int nCaptionID, USHORT menuID, HINSTANCE menuLibHandle, cwb_Boolean growAllControls);
The following list shows common return values.
This process begins by enumerating, replacing the text of, and horizontally adjusting, all dialog controls within the dialog box, and finally right-adjusting the dialog box itself, relative to the adjusted controls therein. These adjustments are made only if the current window extents do not fully encompass the expansion space required for the text or all controls. After all of the text substitution has been completed, if a menu ID has been passed, it will be loaded and attached to the dialog box. It is suggested that this routine is called for every dialog-box procedure as the first thing done during the INITDLG message processing.