Public Types | Public Member Functions

CtlColorParent< BASE > Struct Template Reference

#include <window.h>

Inheritance diagram for CtlColorParent< BASE >:
Inheritance graph
Collaboration diagram for CtlColorParent< BASE >:
Collaboration graph

List of all members.

Public Types

typedef BASE super

Public Member Functions

 CtlColorParent (HWND hwnd)
LRESULT WndProc (UINT nmsg, WPARAM wparam, LPARAM lparam)

Detailed Description

template<typename BASE>
struct CtlColorParent< BASE >

Definition at line 594 of file window.h.

Member Typedef Documentation

template<typename BASE>
typedef BASE CtlColorParent< BASE >::super

Reimplemented in ExplorerAboutDlg.

Definition at line 596 of file window.h.

Constructor & Destructor Documentation

template<typename BASE>
CtlColorParent< BASE >::CtlColorParent ( HWND  hwnd ) [inline]

Definition at line 598 of file window.h.

     : super(hwnd) {}

Member Function Documentation

template<typename BASE>
LRESULT CtlColorParent< BASE >::WndProc ( UINT  nmsg,
WPARAM  wparam,
LPARAM  lparam 
) [inline]

Reimplemented in ExplorerAboutDlg.

Definition at line 601 of file window.h.

Referenced by CtlColorParent< OwnerDrawParent< Dialog > >::WndProc().

        switch(nmsg) {
          case WM_CTLCOLOR:
          case WM_CTLCOLORBTN:
          case WM_CTLCOLORDLG:
          case WM_CTLCOLORSTATIC: {
            HWND hctl = (HWND) lparam;
            return SendMessage(hctl, PM_DISPATCH_CTLCOLOR, wparam, nmsg);

            return super::WndProc(nmsg, wparam, lparam);

Here is the caller graph for this function:

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