ATTR_FRAME_COLOR (Control)
Type: | Control attribute |
Description: | The RGB color value for a control frame. LabWindows/CVI ignores this attribute if you enable the ATTR_CONFORM_TO_SYSTEM_THEME attribute, enable the Use Windows Visual Styles for Controls option, or disable the ATTR_DISABLE_PANEL_THEME attribute. An RGB value is a 4-byte integer with the hexadecimal format 0x00RRGGBB. RR, GG, and BB are the respective red, green, and blue components of the color value. See MakeColor. |
Control Types: | ActiveX controls, color numerics, decorations, list boxes, numerics, picture rings, pictures, rings, numeric slides, ring slides, splitters, strings, tables, text boxes, trees. |
Restrictions: | Not valid for controls of type CTRL_RING_KNOB, CTRL_RING_KNOB_LS, CTRL_RING_DIAL, CTRL_RING_DIAL_LS, CTRL_RING_POINTER_VSLIDE, CTRL_RING_POINTER_VSLIDE_LS, CTRL_RING_TANK, CTRL_RING_TANK_LS, CTRL_RING_THERMOMETER, CTRL_RING_THERMOMETER_LS, CTRL_RING_POINTER_HSLIDE, CTRL_RING_POINTER_HSLIDE_LS, CTRL_RING_LEVEL_VSLIDE, CTRL_RING_LEVEL_VSLIDE_LS, CTRL_RING_LEVEL_HSLIDE, CTRL_RING_LEVEL_HSLIDE_LS, CTRL_RING_VSLIDE, CTRL_RING_HSLIDE, CTRL_RING_FLAT_VSLIDE, or CTRL_RING_FLAT_HSLIDE. Setting the frame color on controls with a transparent frame (CTRL_STRING_LS, CTRL_TEXT_BOX_LS, CTRL_TABLE_LS, CTRL_TREE_LS, CTRL_LIST_LS, CTRL_RING_GAUGE_LS, CTRL_COLOR_NUMERIC_LS) will have no visible effect. |
Data Type: | integer |
LabWindows/CVI Compatibility: |
LabWindows/CVI 3.0 and later |
Values
VAL_RED | Red = 255, Green = 0, Blue = 0 |
VAL_GREEN | Red = 0, Green = 255, Blue = 0 |
VAL_BLUE | Red = 0, Green = 0, Blue = 255 |
VAL_CYAN | Red = 0, Green = 255, Blue = 255 |
VAL_MAGENTA | Red = 255, Green = 0, Blue = 255 |
VAL_YELLOW | Red = 255, Green = 255, Blue = 0 |
VAL_DK_RED | Red = 128, Green = 0, Blue = 0 |
VAL_DK_BLUE | Red = 0, Green = 0, Blue = 128 |
VAL_DK_GREEN | Red = 0, Green = 128, Blue = 0 |
VAL_DK_CYAN | Red = 0, Green = 128, Blue = 128 |
VAL_DK_MAGENTA | Red = 128, Green = 0, Blue = 128 |
VAL_DK_YELLOW | Red = 128, Green = 128, Blue = 0 |
VAL_LT_GRAY | Red = 192, Green = 192, Blue = 192 |
VAL_DK_GRAY | Red = 128, Green = 128, Blue = 128 |
VAL_BLACK | Red = 0, Green = 0, Blue = 0 |
VAL_WHITE | Red = 255, Green = 255, Blue = 255 |
VAL_GRAY | Red = 160, Green = 160, Blue = 160 |
VAL_OFFWHITE | Red = 224, Green = 224, Blue = 224 |
VAL_TRANSPARENT | Red = 0, Green = 0, Blue = 0, transparent bit set. |
VAL_PANEL_GRAY | Red = 192, Green = 192, Blue = 192 |