Поделиться через


COleControl::PostModalDialog

Notifies the container that a modal dialog box has been closed.

void PostModalDialog( 
   HWND hWndParent = NULL 
);

Parameters

  • hWndParent
    Handle to the parent window of the modal dialog box.

Remarks

Call this function after displaying any modal dialog box. You must call this function so that the container can enable any top-level windows disabled by PreModalDialog. This function should be paired with a call to PreModalDialog.

Requirements

Header: afxctl.h

See Also

Reference

COleControl Class

Hierarchy Chart

COleControl::PreModalDialog