EditController Struct Reference

#include <window.h>

Inheritance diagram for EditController:

Inheritance graph
[legend]
Collaboration diagram for EditController:

Collaboration graph
[legend]

Public Types

typedef SubclassedWindow super

Public Member Functions

 EditController (HWND hwnd)

Protected Member Functions

LRESULT WndProc (UINT nmsg, WPARAM wparam, LPARAM lparam)

Detailed Description

Definition at line 1082 of file window.h.


Member Typedef Documentation

typedef SubclassedWindow EditController::super

Reimplemented from SubclassedWindow.

Definition at line 1084 of file window.h.


Constructor & Destructor Documentation

EditController::EditController ( HWND  hwnd  )  [inline]

Definition at line 1086 of file window.h.

01087      :  super(hwnd)
01088     {
01089     }


Member Function Documentation

LRESULT EditController::WndProc ( UINT  nmsg,
WPARAM  wparam,
LPARAM  lparam 
) [inline, protected, virtual]

Reimplemented from SubclassedWindow.

Definition at line 1092 of file window.h.

01093     {
01094         if (nmsg==WM_KEYDOWN && wparam==VK_RETURN) {
01095             SendParent(WM_COMMAND, MAKEWPARAM(GetDlgCtrlID(_hwnd),1), (LPARAM)_hwnd);
01096             return 0;
01097         } else
01098             return super::WndProc(nmsg, wparam, lparam);
01099     }


The documentation for this struct was generated from the following file:
IBrowser Source Code Documentation
generated on 18.09.2008 by doxygen

Homepage