<< Return to Main Index

< Return to Class Index

CGXCheckBox::GetColorValue

virtual COLORREF GetColorValue(COLORREF rgb, BOOL bPrint);

rgb

The original color in the bitmap resource.

bPrint

TRUE for the bitmap to be printed; FALSE for the bitmap to be displayed on the screen

Remarks

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 | Class Members