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

Method ResponseDefaultKeyEvent

DuiLib/Utils/WinImplBase.cpp:24–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24LRESULT WindowImplBase::ResponseDefaultKeyEvent(WPARAM wParam)
25{
26 if (wParam == VK_RETURN)
27 {
28 return FALSE;
29 }
30 else if (wParam == VK_ESCAPE)
31 {
32 Close();
33 return TRUE;
34 }
35
36 return FALSE;
37}
38
39UINT WindowImplBase::GetClassStyle() const
40{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected