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 integer 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.

Code Error Message String
xx Success