ReactOS  0.4.15-dev-4603-gb922b6d
toolsettings.h
Go to the documentation of this file.
1 /*
2  * PROJECT: PAINT for ReactOS
3  * LICENSE: LGPL
4  * FILE: base/applications/mspaint/toolsettings.h
5  * PURPOSE: Window procedure of the tool settings window
6  * PROGRAMMERS: Benedikt Freisen
7  */
8 
9 #pragma once
10 
11 class CToolSettingsWindow : public CWindowImpl<CToolSettingsWindow>
12 {
13 public:
15 
24  END_MSG_MAP()
25 
26  CWindow trackbarZoom;
27 
28  LRESULT OnCreate(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
29  LRESULT OnVScroll(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
30  LRESULT OnPaint(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
35 };
LRESULT OnVScroll(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
#define WM_LBUTTONDOWN
Definition: winuser.h:1763
LRESULT OnToolsModelZoomChanged(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
#define DECLARE_WND_CLASS_EX(WndClassName, style, bkgnd)
Definition: atlwin.h:1970
UINT_PTR WPARAM
Definition: windef.h:207
WPARAM wParam
Definition: combotst.c:138
unsigned int BOOL
Definition: ntddk_ex.h:94
LRESULT OnToolsModelSettingsChanged(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
LONG_PTR LPARAM
Definition: windef.h:208
#define _T(x)
Definition: vfdio.h:22
LRESULT OnCreate(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
#define END_MSG_MAP()
Definition: atlwin.h:1883
LRESULT OnPaint(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
#define WM_PAINT
Definition: winuser.h:1607
#define WM_TOOLSMODELSETTINGSCHANGED
Definition: precomp.h:37
#define COLOR_BTNFACE
Definition: winuser.h:922
#define CS_DBLCLKS
Definition: winuser.h:646
LRESULT OnLButtonDown(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
unsigned int UINT
Definition: ndis.h:50
#define WM_TOOLSMODELTOOLCHANGED
Definition: precomp.h:36
#define BEGIN_MSG_MAP(theClass)
Definition: atlwin.h:1864
#define MESSAGE_HANDLER(msg, func)
Definition: atlwin.h:1892
#define WM_TOOLSMODELZOOMCHANGED
Definition: precomp.h:38
#define WM_CREATE
Definition: winuser.h:1595
LONG_PTR LRESULT
Definition: windef.h:209
LPARAM lParam
Definition: combotst.c:139
LRESULT OnToolsModelToolChanged(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
#define WM_VSCROLL
Definition: winuser.h:1731