Поделиться через


CPropertySheet::EndDialog

Terminates the property sheet.

void EndDialog(
   int nEndID 
);

Параметры

  • nEndID
    Identifier to be used as return value of 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.

Пример

See the example for CPropertySheet::PressButton.

Требования

Header: afxdlgs.h

См. также

Основные понятия

CPropertySheet Class

CPropertySheet Members

Hierarchy Chart

CPropertyPage::OnOK

CPropertyPage::OnCancel

CWnd::DestroyWindow