LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Windows default blue title bar

The custom style of a UIR panel title is always replaced by Windows default blue title bar.

http://forums.ni.com/t5/LabWindows-CVI/Removing-Windows-based-frame-for-UIR/m-p/271361

Is this still true in newer version of LabWindows/CVI?

No way to get around it in CVI 6, 7, 8?

 

 

0 Kudos
Message 1 of 2
(2,851 Views)

dcl9000:

 

In CVI 6.0 through 2010, for child panels only, you can use SetPanelAttribute to set the titlebar style to classic, and then you can set the background color, font, etc.  But it's only for child panels, you can't have a classic main or parent panel.  You'll get a runtime error if you try to set your main panel to a classic titlebar.

 

SetPanelAttribute (childPanelHandle, ATTR_TITLEBAR_STYLE, VAL_CLASSIC);

SetPanelAttribute (childPanelHandle, ATTR_TITLE_BACKCOLOR, VAL_DK_YELLOW);

0 Kudos
Message 2 of 2
(2,832 Views)