Public Types | Public Member Functions | Protected Member Functions

EditController Struct Reference

#include <window.h>

Inheritance diagram for EditController:
Inheritance graph
[legend]
Collaboration diagram for EditController:
Collaboration graph
[legend]

List of all members.

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 1101 of file window.h.


Member Typedef Documentation

Reimplemented from SubclassedWindow.

Definition at line 1103 of file window.h.


Constructor & Destructor Documentation

EditController::EditController ( HWND  hwnd ) [inline]

Definition at line 1105 of file window.h.

     :  super(hwnd)
    {
    }

Member Function Documentation

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);
    }

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

ROS Explorer Source Code Documentation
generated on 02.01.2013 by doxygen

ROS Explorer Homepage