LabWindows/CVI

Content Type
Programming Language
Current manual
Table of Contents

EVENT_PANEL_MOVING

EVENT_PANEL_MOVING

Description

As a user or program moves a panel, LabWindows/CVI generates an EVENT_PANEL_MOVING 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 = Not used.

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 information helpful?