ReactOS  0.4.15-dev-3717-g292e6a4
toolbox.h
Go to the documentation of this file.
1 /*
2  * PROJECT: PAINT for ReactOS
3  * LICENSE: LGPL
4  * FILE: base/applications/mspaint/toolbox.h
5  * PURPOSE: Window procedure of the main window and all children apart from
6  * hPalWin, hToolSettings and hSelection
7  * PROGRAMMERS: Benedikt Freisen
8  */
9 
10 #pragma once
11 
12 class CToolBox : public CWindowImpl<CMainWindow>
13 {
14 public:
16 
23  END_MSG_MAP()
24 
26 
27  LRESULT OnCreate(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
30  LRESULT OnCommand(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
32 };
#define WM_SYSCOLORCHANGE
Definition: winuser.h:1613
#define DECLARE_WND_CLASS_EX(WndClassName, style, bkgnd)
Definition: atlwin.h:1970
UINT_PTR WPARAM
Definition: windef.h:207
CWindow(HWND hWnd=NULL)
Definition: atlwin.h:271
WPARAM wParam
Definition: combotst.c:138
LRESULT OnToolsModelToolChanged(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
Definition: toolbox.cpp:114
unsigned int BOOL
Definition: ntddk_ex.h:94
#define WM_SETCURSOR
Definition: winuser.h:1623
LONG_PTR LPARAM
Definition: windef.h:208
LRESULT OnCommand(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
Definition: toolbox.cpp:100
#define _T(x)
Definition: vfdio.h:22
LRESULT OnCreate(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
Definition: toolbox.cpp:16
#define END_MSG_MAP()
Definition: atlwin.h:1883
#define COLOR_BTNFACE
Definition: winuser.h:922
LRESULT OnSetCursor(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
Definition: toolbox.cpp:62
#define CS_DBLCLKS
Definition: winuser.h:646
#define WM_COMMAND
Definition: winuser.h:1727
unsigned int UINT
Definition: ndis.h:50
#define WM_TOOLSMODELTOOLCHANGED
Definition: precomp.h:27
LRESULT OnSysColorChange(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
Definition: toolbox.cpp:68
#define BEGIN_MSG_MAP(theClass)
Definition: atlwin.h:1864
#define MESSAGE_HANDLER(msg, func)
Definition: atlwin.h:1892
#define WM_CREATE
Definition: winuser.h:1595
LONG_PTR LRESULT
Definition: windef.h:209
LPARAM lParam
Definition: combotst.c:139
CWindow toolbar
Definition: toolbox.h:25