Visit Gigasoft's Web Site
 ProEssentials v9 Help

PElaunchpopupmenu

BOOL PElaunchpopupmenu (hObject, pLocation)

 

HWND 

hObject

The handle returned from PEcreate.

POINT* 

pLocation

Specifies coordinates where popup is placed.

 

This function invokes a popup-menu at the location specified. The coordinates defined in pLocation are with respect to the objects client area (top-left is [0,0]).

 

Returns

NonZero if the function was successful, otherwise Zero.

 

Comments

.NET developers, see PeFunction.Dialog.PopupMenu

Ocx|Vcl developers, see the PEactions property.

 

Within Visual Basic, you can also call this function as follows...

Pego1.PEnarg1 = 'x location in pixels

Pego1.PEnarg2 = 'y location in pixels

Pego1.PEactions = 11 ' Calls PElaunchpopupmenu

 

In Delphi, use...

PEGraph1.PEnarg1 := {x location in pixels};

PEGraph1.PEnarg2 := {y location in pixels};

PEGraph1.PEactions := gPopupMenu; {Calls PElaunchpopupmenu}