From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

resizing panels and controls

is possible to avoid the resizing of a control (in particular a string control)
when the panel that contains the control is maximized and/or resized?

thanks

marco denegri
0 Kudos
Message 1 of 2
(3,605 Views)
You use SetPanelAttribute and set the Scale Contents on Resize to FALSE.

So, use:

SetPanelAttribute (panelHandle, ATTR_SCALE_CONTENTS_ON_RESIZE, 0);

Best Regards,

Chris Matthews
LabWindows/CVI PSE
"denegri marco" wrote:
>>is possible to avoid the resizing of a control (in particular a string
control)>when the panel that contains the control is maximized and/or resized?>>thanks>>marco
denegri>
0 Kudos
Message 2 of 2
(3,605 Views)