LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to change the fonts of parent Window Title Bar

I'm using SetPanelAttribute() function, with ATTR-TITLE to change the Title Bar text of the parent Window.. Text is changing, but Font (size and colour) and style is not according to what I have set in .UIR file. How do I get back the font style/colour whatever I set in .UIR file..
 
 Thanks & Regards,
 Joy
0 Kudos
Message 1 of 5
(3,752 Views)
Hello Joy,
 
is the 'Conform To system Colors' attribute unchecked (Click the 'Other Attributes...' button in the Edit Panel window)?
0 Kudos
Message 2 of 5
(3,750 Views)
Unfortunately seems that it's not possible to change the appearance of a top-level panel title bar: attributes like font, bold, italics and so on, as stated in cvi help, applies to child panels only. Smiley Sad


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
Message 3 of 5
(3,746 Views)
'Conform To system Colors'  is unchecked...
0 Kudos
Message 4 of 5
(3,740 Views)
Joy,

To change the font and color of a top-level panel, you'll have to do it in the Display Properties of your computer. To do that in XP, right-click on the desktop, select Properites, select the Appearance tab, click on the Advanced button, then select both the Active Title Bar and Inactive Title Bar items in the ring in order to change their font and color.

Keep in mind that this will change all windows, not just your CVI panel. Unfortunately, there's no easy way that I know of to change just one window.

Luis
NI
0 Kudos
Message 5 of 5
(3,727 Views)