| 858 | } |
| 859 | |
| 860 | extern "C" __declspec(dllexport) LRESULT |
| 861 | // ReSharper disable once CppInconsistentNaming |
| 862 | messageProc(UINT message, WPARAM w_param, LPARAM /*l_param*/) { |
| 863 | // NOLINT |
| 864 | switch (message) { |
| 865 | case WM_MOVE: |
| 866 | if (suggestions_button) |
| 867 | suggestions_button->display(false); |
| 868 | return FALSE; |
| 869 | case WM_COMMAND: { |
| 870 | if (HIWORD(w_param) == 0 && get_use_allocated_ids()) { |
| 871 | init_needed_dialogs(w_param); |
| 872 | context_menu_handler->process_menu_result(w_param); |
| 873 | } |
| 874 | } |
| 875 | break; |
| 876 | } |
| 877 | |
| 878 | return FALSE; |
| 879 | } |
| 880 | |
| 881 | #ifdef UNICODE |
| 882 | // ReSharper disable once CppInconsistentNaming |
nothing calls this directly
no test coverage detected