COleBusyDialog::COleBusyDialog

COleBusyDialog(HTASKhtaskBusy**,BOOLbNotResponding=FALSE,DWORDdwFlags=0,CWnd*** pParentWnd**=NULL);**

Parameters

htaskBusy

Handle to the server task that is busy.

bNotResponding

If TRUE, call the Not Responding dialog box instead of the Server Busy dialog box. The wording in the Not Responding dialog box is slightly different than the wording in the Server Busy dialog box, and the Cancel button is disabled.

dwFlags

Creation flag. Can contain zero or more of the following values combined with the bitwise-OR operator:

  • BZ_DISABLECANCELBUTTON   Disable the Cancel button when calling the dialog box.

  • BZ_DISABLESWITCHTOBUTTON   Disable the Switch To button when calling the dialog box.

  • BZ_DISABLERETRYBUTTON   Disable the Retry button when calling the dialog box.

pParentWnd

Points to the parent or owner window object (of type CWnd) to which the dialog object belongs. If it is NULL, the parent window of the dialog object is set to the main application window.

Remarks

This function only constructs a COleBusyDialog object. To display the dialog box, call DoModal.

For more information, see the structure in the OLE 2.01 User Interface Library.

COleBusyDialog OverviewClass MembersHierarchy Chart

See Also   COleBusyDialog::DoModal