Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Resizing a cnigraph

I want to use a cnigraph in a resizable dialog. How can I resize a cnigraph and other cnicontrols? Is there example code availabe?
0 Kudos
Message 1 of 2
(3,122 Views)
CNiGraph and all of the other CNi control classes derive from CWnd. You use the CWnd functions, such as CWnd::MoveWindow to move and size the controls.

There is an example program that ships with Measurement Studio for C++ that demonstrates this. It is available under the following path.

MeasurementStudio\VC\Examples\Ui\Common\Dynamic Move or Resize UI

David Rohacek
National Instruments
Message 2 of 2
(3,122 Views)