foobar2000 SDK  2015-01-14
Public Member Functions
CEditNoEscSteal

#include <WTL-PP.h>

+ Inheritance diagram for CEditNoEscSteal:

Public Member Functions

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

Detailed Description

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

Constructor & Destructor Documentation

CEditNoEscSteal::CEditNoEscSteal ( )
inline

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

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

Member Function Documentation

CEditNoEscSteal::BEGIN_MSG_MAP_EX ( CEditNoEscSteal  )
inline

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

129  :
130  UINT OnEditGetDlgCode(LPMSG lpMsg) {
131  if (lpMsg == NULL) {
132  SetMsgHandled(FALSE); return 0;
133  } else {
134  switch(lpMsg->message) {
135  case WM_KEYDOWN:
136  case WM_SYSKEYDOWN:
137  switch(lpMsg->wParam) {
138  case VK_ESCAPE:
139  return 0;
140  default:
141  SetMsgHandled(FALSE); return 0;
142  }
143  default:
144  SetMsgHandled(FALSE); return 0;
145 
146  }
147  }
148  }

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