Admin Production ni-theme
Current Publication

GetSharedMenuBarEventPanel

LabWindows/CVI

GetSharedMenuBarEventPanel

int GetSharedMenuBarEventPanel (void);

Purpose

Returns the handle for the panel on which the last menu commit event occurred.

This function is useful when you share one menu bar among multiple panels, and you use GetUserEvent to get menu commit events rather than using callback functions.

Parameters

None.

Return Value

Name Type Description
panelHandle int Value you can use in subsequent function calls to specify this panel. Negative values indicate that an error occurred. Zero is not a valid panel handle.

Additional Information

Library: User Interface Library

Include file: userint.h

LabWindows/CVI compatibility: LabWindows/CVI 3.0 and later