Share via


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

Reference

COlePropertyPage Class

Hierarchy Chart

COlePropertyPage::GetControlStatus

Other Resources

COlePropertyPage Members