#include <window.h>


Public Types | |
| typedef SubclassedWindow | super |
Public Member Functions | |
| EditController (HWND hwnd) | |
Protected Member Functions | |
| LRESULT | WndProc (UINT nmsg, WPARAM wparam, LPARAM lparam) |
Definition at line 1101 of file window.h.
Reimplemented from SubclassedWindow.
| EditController::EditController | ( | HWND | hwnd ) | [inline] |
| LRESULT EditController::WndProc | ( | UINT | nmsg, |
| WPARAM | wparam, | ||
| LPARAM | lparam | ||
| ) | [inline, protected, virtual] |
Reimplemented from SubclassedWindow.
Definition at line 1111 of file window.h.
References WindowHandle::_hwnd.
{
if (nmsg==WM_KEYDOWN && wparam==VK_RETURN) {
SendParent(WM_COMMAND, MAKEWPARAM(GetDlgCtrlID(_hwnd),1), (LPARAM)_hwnd);
return 0;
} else
return super::WndProc(nmsg, wparam, lparam);
}
|
ROS Explorer Source Code Documentation
generated on 02.01.2013 by
|