MCPcopy Create free account
hub / github.com/AutoHotkey/AutoHotkey / FindMenu

Method FindMenu

source/script_menu.cpp:252–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

250
251
252UserMenu *Script::FindMenu(HMENU aMenuHandle)
253{
254 if (!aMenuHandle) return NULL;
255 for (UserMenu *menu = mFirstMenu; menu != NULL; menu = menu->mNextMenu)
256 if (menu->mMenu == aMenuHandle)
257 return menu;
258 return NULL; // No match found.
259}
260
261
262

Callers 1

BIF_DECLFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected