Click or drag to resize

Menu.ShowAsPopup Method

X#
Display menu as a local pop-up menu.

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD ShowAsPopup(
	oOwner,
	oPoint,
	kButton,
	kAlignment,
	oNotOverlap
) AS USUAL CLIPPER
Request Example View Source

Parameters

oOwner (Optional)
Type: Usual
The window that owns the local pop-up menu.
oPoint (Optional)
Type: Usual
The point, relative to the client area, at which to display the menu. If omitted, the menu is displayed at the current mouse cursor position.
kButton (Optional)
Type: Usual
The button constant that indicates which button the menu will track. Values can be PM_LEFTBUTTON and PM_RIGHTBUTTON. If omitted, the menu tracks the left mouse button.
kAlignment (Optional)
Type: Usual
The alignment constant that indicates how the menu will be aligned with respect to the display position of the menu. Values can be PM_ALIGNCENTER, PM_ALIGNLEFT, and PM_ALIGNRIGHT. If omitted, the menu is aligned to the left of the display position.
oNotOverlap (Optional)
Type: Usual
** missing parameter documentation **

Return Value

Type: Usual
TRUE if the menu was displayed successfully; otherwise, FALSE.
See Also