Was this helpful?
System Color Remapping
Bitmaps can be rendered differently in the Microsoft development environment. They can either be loaded as is, which would typically be done with pictures and photographs used pictorially, or they can be re-mapped with system colors. Re-mapping is typically done if the bitmap is going to be used on a ButtonField, MenuField, ToolBar or anywhere where a rectangular image is unattractive. Microsoft defines exactly how re-mapping is to occur.
Three colors are defined that will be re-mapped:
Color
RGB Setting
Result
CC_SYS_BTNFACE
RGB(192,192,192)
mapped to the system
button face Gray
CC_SYS_BTNSHADOW
RGB(128,128,128)
mapped to the system
Shadow color Dark Gray
CC_SYS_SHADOW
RGB(233,233,233)
mapped to the system
Highlight color Light Gray
These will then need to be re-mapped whenever the system colors are changed. This feature allows the placement of what appears to be non-rectangular bitmaps on OpenROAD FormField objects.
Last modified date: 12/20/2023