다음을 통해 공유


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

Reference

CPropertySheet Class

Hierarchy Chart

CPropertyPage::OnOK

CPropertyPage::OnCancel

CWnd::DestroyWindow

Other Resources

CPropertySheet Members