LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

maximize panel

Hi

 

I'm programming an application for a data aquisition in LabWindows. Is it possible to adapt the panel to the screensize. So I mean not a command like this:

 

SetPanelAttribute (panelHandle, ATTR_WINDOW_ZOOM, VAL_MAXIMIZE);

 

If I use this, the original size of the panel stays the same and around this is just a grey background. I'd like that items like plots or command buttons are becoming bigger that the original size if I maximze the window.

 

Thanks for your help guys!

0 Kudos
Message 1 of 3
(2,976 Views)

You'll want to play around with this:

 

SetPanelAttribute(panelHandle, ATTR_SCALE_CONTENTS_ON_RESIZE, TRUE);

 

You can also enable this attribute in the "Other Attributes" section of the Edit Panel dialog.

Kevin B.
0 Kudos
Message 2 of 3
(2,970 Views)

Thank you, excellent help!!

0 Kudos
Message 3 of 3
(2,962 Views)