CancelClientMenu Function

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

bool CancelClientMenu(int client, bool autoIgnore, Handle hStyle)

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

True if a menu was cancelled, false otherwise.