MCPcopy Create free account
hub / github.com/Predelnik/DSpellCheck / allocate_cmdid

Method allocate_cmdid

src/npp/NppInterface.cpp:38–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38int NppInterface::allocate_cmdid(int requested_number) {
39 int id;
40 send_msg_to_npp(NPPM_ALLOCATECMDID, requested_number, reinterpret_cast<LPARAM>(&id));
41 return id;
42}
43
44void NppInterface::set_menu_item_check(int cmd_id, bool checked) { send_msg_to_npp(NPPM_SETMENUITEMCHECK, cmd_id, static_cast<LPARAM>(checked)); }
45

Callers 1

init_menu_idsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected