foobar2000 SDK  2015-08-03
Public Member Functions
CEditNoEnterEscSteal

#include <WTL-PP.h>

+ Inheritance diagram for CEditNoEnterEscSteal:

Public Member Functions

 CEditNoEnterEscSteal ()
 
 BEGIN_MSG_MAP_EX (CEditNoEscSteal) MSG_WM_GETDLGCODE(OnEditGetDlgCode) END_MSG_MAP() private
 

Detailed Description

Definition at line 151 of file WTL-PP.h.

Constructor & Destructor Documentation

CEditNoEnterEscSteal::CEditNoEnterEscSteal ( )
inline

Definition at line 153 of file WTL-PP.h.

153 : CContainedWindowT<CEdit>(this, 0) {}

Member Function Documentation

CEditNoEnterEscSteal::BEGIN_MSG_MAP_EX ( CEditNoEscSteal  )
inline

Definition at line 154 of file WTL-PP.h.

157  :
158  UINT OnEditGetDlgCode(LPMSG lpMsg) {
159  if (lpMsg == NULL) {
160  SetMsgHandled(FALSE); return 0;
161  } else {
162  switch(lpMsg->message) {
163  case WM_KEYDOWN:
164  case WM_SYSKEYDOWN:
165  switch(lpMsg->wParam) {
166  case VK_ESCAPE:
167  case VK_RETURN:
168  return 0;
169  default:
170  SetMsgHandled(FALSE); return 0;
171  }
172  default:
173  SetMsgHandled(FALSE); return 0;
174 
175  }
176  }
177  }

The documentation for this class was generated from the following file: