MCPcopy Create free account
hub / github.com/cinience/RedisStudio / MessageHandler

Method MessageHandler

DuiLib/Utils/WinImplBase.cpp:64–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64LRESULT WindowImplBase::MessageHandler(UINT uMsg, WPARAM wParam, LPARAM /*lParam*/, bool& /*bHandled*/)
65{
66 if (uMsg == WM_KEYDOWN)
67 {
68 switch (wParam)
69 {
70 case VK_RETURN:
71 case VK_ESCAPE:
72 return ResponseDefaultKeyEvent(wParam);
73 default:
74 break;
75 }
76 }
77 return FALSE;
78}
79
80LRESULT WindowImplBase::OnClose(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& bHandled)
81{

Callers 1

HandleMessageMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected