Partager via


COleBusyDialog::COleBusyDialog

This function only constructs a COleBusyDialog object.

explicit COleBusyDialog(
   HTASK htaskBusy,
   BOOL bNotResponding = FALSE,
   DWORD dwFlags = 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

To display the dialog box, call DoModal.

For more information, see the OLEUIBUSY structure in the Windows SDK.

Requirements

Header: afxodlgs.h

See Also

Concepts

COleBusyDialog Class

COleBusyDialog Members

Hierarchy Chart

COleBusyDialog::DoModal