Project

General

Profile

Previous Up Next

_DRAWmenu
Draw a contextual menu on a window.

ObjWin _DRAWmenu (
ObjWin _window_
ObjMenu _menu_
I _x_
I _y_
I _flag_
)
Parameters

_window_
parent window (may be nil)
_menu_
any contextual menu (see _CRpopupMenu)
_x_
x coordinate
_y_
y coordinate
_flag_
flag :
PM_SCREEN screen coordinates
PM_HCENTER_ALIGN _x_ is the center coordinate
PM_LEFT_ALIGN _x_ is the left coordinate
PM_RIGHT_ALIGN _x_ is the right coordinate
PM_VCENTER_ALIGN _y_ is the center coordinate
PM_TOP_ALIGN _y_ is the top coordinate
PM_BOTTOM_ALIGN _y_ is the bottom coordinate
Return value

same window