short SetParameter(long QueryID, VARIANT Index, VARIANT Value)
Description
This function sets the parent window for dialogs. Normally, when QMF for Windows displays a dialog (in the busy window or the Set User Information dialog box), it is centered on and modal to the main window in QMF for Windows. This function enables you to force the dialogs to be centered on and modal to your client application's window.
Parameters
Name | Description |
---|---|
ParentWnd | The HWND (a predefined data type used in Microsoft Foundation Class and Windows for Window Handle) of the new parent window. Specify NULL to use the main window as the parent. |
Return Value
The return value will be zero if successful or non-zero if unsuccessful. If the return value is non-zero, you can call GetLastErrorString() or GetLastErrorType() to get additional error information.
Related Tasks