Initialize your plug-in data here It will be called while plug-in loading
| 93 | // Initialize your plug-in data here |
| 94 | // It will be called while plug-in loading |
| 95 | LRESULT 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 | |
| 106 | void set_context_menu_id_start(int id) { context_menu_id_start = id; } |
| 107 |
nothing calls this directly
no test coverage detected