Visit Gigasoft's Web Site
 ProEssentials v10 Help

Common Question 38

How do I control and/or extend the built in popup menu system?

Refer to the demo or demo projects, example 127.

 

Also refer to the properties:

 

CustomMenu

0 = visible, 1 = grayed, 2 = hide

CustomMenuState

For Strings: 0=unchecked 1=checked For Popup: 0=nothing, n=1 based pos checked

CustomMenuLocation

0=top, 1=above separator, 2=below separator, 3=bottom

CustomMenuText

For Strings: 1 string=string item, 3 or more strings separated by | delimiters to create popop

LastMenuIndex

Used only with PEWN_CUSTOMEMU notification message.

LastSubMenuIndex

Used with PEWN_CUSTOMMENU notification message.

 

And related events:

.NET: PeCustomMenu event
ActiveX: CustomMenu event
SDK/DLL: PEWN_CUSTOMMENU notification message.

 

To disable the popup menu, use AllowPopup.