COleControl::PreModalDialog

Notifies the container that a modal dialog box is about to be displayed.

void PreModalDialog( 
   HWND hWndParent = NULL 
);

hWndParent

Handle to the parent window of the modal dialog box.

Call this function before displaying any modal dialog box. You must call this function so that the container can disable all its top-level windows. After the modal dialog box has been displayed, you must then call PostModalDialog.

Header: afxctl.h

Community Additions

ADD
Show: