EVENT_PANEL_SIZING

LabWindows/CVI 2017 Help

Edition Date: May 2017

Part Number: 370051AG-01

»View Product Info

DOWNLOAD (Windows Only)
LabWindows/CVI 2010 Help
LabWindows/CVI 2012 Help
LabWindows/CVI 2013 Help
LabWindows/CVI 2015 Help
LabWindows/CVI 2017 Help

Description

As a user or program sizes a panel, LabWindows/CVI generates an EVENT_PANEL_SIZING event and sends the event to the callback function associated with the panel.

This event is not swallowable; however, you can use eventData2 to restrict the size or position of the panel.

Note  Consider the following caveats when using this event:

Applies To

Panels

Event Data Parameters

eventData1 = The edge of the panel that the user is sizing, such as PANEL_SIZING_TOPLEFT, PANEL_SIZING_TOP, PANEL_SIZING_BOTTOM, and so on.

eventData2 = Value that the user passes into GetPanelEventRect to extract a Rect structure containing the new size and position of the panel. Call SetPanelEventRect on eventData2 to force the panel to a different size or position.

LabWindows/CVI Compatibility

LabWindows/CVI 8.1 and later

WAS THIS ARTICLE HELPFUL?

Not Helpful