Public Types | Public Member Functions

PreTranslateWindow Struct Reference

PreTranslateWindow is used to register windows to be called by Window::pretranslate_msg(). More...

#include <window.h>

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

List of all members.

Public Types

typedef Window super

Public Member Functions

 PreTranslateWindow (HWND)
 ~PreTranslateWindow ()

Detailed Description

PreTranslateWindow is used to register windows to be called by Window::pretranslate_msg().

This way you get PM_TRANSLATE_MSG messages before the message loop dispatches messages. You can then for example use TranslateAccelerator() to implement key shortcuts.

Definition at line 333 of file window.h.


Member Typedef Documentation


Constructor & Destructor Documentation

PreTranslateWindow::PreTranslateWindow ( HWND  hwnd )

Definition at line 673 of file window.cpp.

References Window::register_pretranslate().

 :  super(hwnd)
{
    register_pretranslate(hwnd);
}

Here is the call graph for this function:

PreTranslateWindow::~PreTranslateWindow (  )

Definition at line 679 of file window.cpp.

References WindowHandle::_hwnd, and Window::unregister_pretranslate().

Here is the call graph for this function:


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

ROS Explorer Source Code Documentation
generated on 02.01.2013 by doxygen

ROS Explorer Homepage