LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to change title bar color in windows style panel

Solved!
Go to solution
Solution
Accepted by topic author atomic928

ATTR_TITLE_BACKCOLOR is a panel attribute, not a control attribute, so you need to call SetPanelAttribute (g_hchild1, ATTR_TITLE_BACKCOLOR, VAL_DK_GRAY), not SetCtrlAttribute (...)

 

For this to work you also need to set the Title bar style to 'classic'

0 Kudos
Message 11 of 12
(2,311 Views)

'Classic' style is not really the look I'm going for but the 'SetPanelAttribute' call was the overall solution to change the title bar color.

 

Thanks to all for there help.

0 Kudos
Message 12 of 12
(2,306 Views)