LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Conform to System Colors

Trying to use this attribute for a child window, both from the uir, and programatically. The window background does change to a different color gray than I had put, but the title bar is still gray instead of the blue that my system has. Even setting the attribute right before Display(childPanel) doesn't seem to do it. Suggestions?

Thanks.

Craig Leidholm
0 Kudos
Message 1 of 2
(3,083 Views)
Panels that are set as children to other panels via LoadPanel do not exhibit the same behavior as child windows inside of a MDI (Multiple Document Interface) application. The title bar behavior you are seeing is indicative of this. If you want to have them behave like this you can use a simple Windows SDK function call to load panels in MDI format as exhibited in the example found at the following link:

http://zone.ni.com/devzone/explprog.nsf/6c163603265406328625682a006ed37d/341192d4aeb035e486256ac40078a4e8?OpenDocument

Jason F.
Applications Engineer
National Instruments
www.ni.com/ask
0 Kudos
Message 2 of 2
(3,083 Views)