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


COlePropertyPage::SetControlStatus

Changes the status of a property page control.

BOOL SetControlStatus(
   UINT nID,
   BOOL bDirty 
);

Параметры

  • nID
    Contains the ID of a property page control.

  • bDirty
    Specifies if a field of the property page has been modified. Set to TRUE if the field has been modified, FALSE if it has not been modified.

Возвращаемое значение

TRUE, if the specified control was set; otherwise FALSE.

Заметки

If the status of a property page control is dirty when the property page is closed or the Apply button is chosen, the control's property will be updated with the appropriate value.

Требования

Header: afxctl.h

См. также

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

COlePropertyPage Class

COlePropertyPage Members

Hierarchy Chart

COlePropertyPage::GetControlStatus