From Stealth Client

Jump to: navigation, search

ContextMenu

ClearContextMenu

procedure ClearContextMenu

Clears the contents of the context menu. After calling this procedure Doc:Api/GetContextMenu will return an empty TStringList, until a new menu.

GetContextMenu

procedure GetContextMenu(var list:TStringList)

Returns the last points of the context menu. The format of rows to return the next "tag | clilocID | clilocText | flags | color". All numbers presented in decimal form.

Example:

0 | 6123 | Open Paperdoll | 0 | 0
1 | 6146 | Talk | 0 | 0

ATTENTION! List must be created through the var_list_name:= TStringList.Create and necessarily removed after use by var_list_name.Free;

RequestContextMenu

procedure RequestContextMenu(ID : Cardinal)

SetContextMenuHook

procedure SetContextMenuHook(VendorID : Cardinal; EntryNumber : Byte)

For reset context menu hook use VendorID = 0:

SetContextMenuHook(0, 0);


Pages in category "ContextMenu"

The following 4 pages are in this category, out of 4 total.

D