This routine will control the sizing of the dialog box and its child controls. The expansion amount is based off of the length of the text extent and the length of each control. The growth of the dialog box and its controls will be proportional. By setting the growAllControls to FALSE, only controls with text will expand or contract. This allows the programmer the flexibility of non-translatable fields to remain the same size. This may be appropriate for dialogs that contain drop-down lists, combo-boxes, or spin buttons.
unsigned int CWB_ENTRY cwbNL_SizeDialog( HWND windowHandle, cwb_Boolean growAllControls);
The following list shows common return values.
This routine assumes that the translated text has already been loaded into the dialog-box controls. If the text has not been loaded into the controls, use cwbNL_LoadDialog.