This function obtains a message from the application's queue associated with the specified dialog.

#define INCL_WINDIALOGS /* Or use INCL_WIN, INCL_PM, Also in COMMON section */
#include <os2.h>

HWND     hwndDlg;  /*  Dialog-window handle. */
PQMSG    pqmsg;    /*  Message structure. */
BOOL     rc;       /*  Continue message indicator. */

rc = WinGetDlgMsg(hwndDlg, pqmsg);


[Back] [Next]