CPropertySheet::EndDialog

void EndDialog( int nEndID );

Parameters

nEndID

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

Remarks

Use this member function to terminate the property sheet. 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.

CPropertySheet OverviewClass MembersHierarchy Chart

See Also   CPropertyPage::OnOK, CPropertyPage::OnCancel, CWnd::DestroyWindow