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

Function messageProc

src/plugin/Plugin.cpp:860–879  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

858}
859
860extern "C" __declspec(dllexport) LRESULT
861// ReSharper disable once CppInconsistentNaming
862messageProc(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

Callers

nothing calls this directly

Calls 4

get_use_allocated_idsFunction · 0.85
init_needed_dialogsFunction · 0.85
process_menu_resultMethod · 0.80
displayMethod · 0.45

Tested by

no test coverage detected