07-06-2011 12:27 PM
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!
07-06-2011 03:37 PM
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.
07-07-2011 01:45 AM
Thank you, excellent help!!