다음을 통해 공유


COlePropertyPage::SetControlStatus

Changes the status of a property page control.

BOOL SetControlStatus(
   UINT nID,
   BOOL bDirty 
);

Parameters

  • 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.

Return Value

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

Remarks

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.

Requirements

Header: afxctl.h

See Also

Concepts

COlePropertyPage Class

COlePropertyPage Members

Hierarchy Chart

COlePropertyPage::GetControlStatus