<< Return to Main Index

< Return to Class Index

CGXCheckBox Class Members

Construction

CGXCheckBox Constructs a checkbox control object.

User Attributes

AddUserAttributes Call this static method to register user attributes with the styles-map. Registered user attributes will be displayed in the CGXStyleSheet and can be modified by the user with the style sheet.

Attributes

m_nCheckBoxSize Defines the width and height of the checkbox in the bitmap. Each checkbox in the bitmap resource must have the same size.

Overridables

GetColorValue This overridable is called when the bitmap is loaded from the resource file. It lets you replace certain colors in the bitmap with system colors as specified in the system settings. Bitmaps will be automatically reloaded when the system settings change.

CGXCheckBox

Class Overview