How to Resize Controls During Run-Time in LabWindows™/CVI™?

Updated Apr 10, 2019

Reported In


  • LabWindows/CVI

Issue Details

I want to resize a graph and some buttons when the application is running in LabWindows/CVI. How to do it?


You can use the Run-Time Movable Control instrument driver that can be found under toolslib\custctrl\movectrl.fp

This instrument driver provides a set of functions for creating and controlling controls that users can move, resize, drag and size at run time. A run-time movable control is useful if multiple users of the same product want a slightly different user interface but do not want to affect the functioning of the program. Using the instrument driver, you can easily allow users to move or size controls and then save the settings for future use.

The functions in this instrument driver are multithread-safe.

An example that shows how to use the instrument driver functions can be found here: 
C:\Users\Public\Documents\National Instruments\CVI2017\samples\userint\custctrl\movectrl



Not Helpful