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

Method SuggestionMenuButton

src/ui/SuggestionMenuButton.cpp:64–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64SuggestionMenuButton::SuggestionMenuButton(HINSTANCE h_inst, HWND parent,
65 NppInterface &npp, ContextMenuHandler &context_menu_handler,
66 const Settings &settings)
67 : m_npp(npp),
68 m_settings(settings), m_context_menu_handler(context_menu_handler) {
69 Window::init(h_inst, parent);
70 m_state_pressed = false;
71 m_state_hovered = false;
72 m_state_menu = false;
73}
74
75void SuggestionMenuButton::show_suggestion_menu() {
76 SendMessage(getHSelf(), WM_SHOWANDRECREATEMENU, 0, 0);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected