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

Function mouse_proc

src/plugin/Plugin.cpp:95–104  ·  view source on GitHub ↗

Initialize your plug-in data here It will be called while plug-in loading

Source from the content-addressed store, hash-verified

93// Initialize your plug-in data here
94// It will be called while plug-in loading
95LRESULT CALLBACK mouse_proc(int n_code, WPARAM w_param, LPARAM l_param) {
96 switch (w_param) {
97 case WM_MOUSEMOVE:
98 context_menu_handler->init_suggestions_box(*suggestions_button);
99 break;
100 default:
101 break;
102 }
103 return CallNextHookEx(h_mouse_hook, n_code, w_param, l_param);;
104}
105
106void set_context_menu_id_start(int id) { context_menu_id_start = id; }
107

Callers

nothing calls this directly

Calls 1

init_suggestions_boxMethod · 0.80

Tested by

no test coverage detected