CancelClientMenu

Last Updated2019-04-22
Created At2007-05-14

Cancels a menu on a client. This will only affect non-external menus.

native bool CancelClientMenu(int client, bool autoIgnore = false, Handle hStyle = INVALID_HANDLE)

Parameters

int client
Client index.
bool autoIgnore
If true, no menus can be re-drawn on the client during the cancellation process.
Handle hStyle
MenuStyle Handle, or INVALID_HANDLE to use the default style.

Return Value

bool True if a menu was cancelled, false otherwise.