CPropertySheet::EndDialog

Terminates the property sheet.

void EndDialog(
   int nEndID 
);

Parameters

  • nEndID
    Identifier to be used as return value of the property sheet.

Remarks

This member function is called by the framework when the OK, Cancel, or Close button is pressed. Call this member function if an event occurs that should close the property sheet.

This member function is only used with a modal dialog box.

Example

See the example for CPropertySheet::PressButton.

Requirements

Header: afxdlgs.h

See Also

Concepts

CPropertySheet Class

CPropertySheet Members

Hierarchy Chart

CPropertyPage::OnOK

CPropertyPage::OnCancel

CWnd::DestroyWindow