|
PEWN_CUSTOMMENUThe PEWN_CUSTOMMENU notification message is sent to the parent window when the user accesses a custom menu item.
When processing this notification message, read ...
int nM = PEnget(m_hPE, PEP_nLASTMENUINDEX); int nSM = PEnget(m_hPE, PEP_nLASTSUBMENUINDEX);
to learn which custom menu was last selected.
Comments .NET developers see the PeCustomMenu event. OCX/VCL developers use the CustomMenu event.
See example 127 for more info.
See Also: CustomMenuText, AllowUserInterface, ProEssentials Messages, Common Question 38.
For an example: See the included VC6 Example Project, "PEVIEW.CPP" file, OnCommand handler for an example of event processing. This project will load into VC6 or Visual Studio .NET.
|
©2022 Gigasoft, Inc. | All rights reserved.
Gigasoft is a registered trademark, and ProEssentials a trademark of Gigasoft, Inc. |