ReactOS  0.4.12-dev-57-g7050ac4
scrollbox.h
Go to the documentation of this file.
1 /*
2  * PROJECT: PAINT for ReactOS
3  * LICENSE: LGPL
4  * FILE: base/applications/mspaint/scrollbox.h
5  * PURPOSE: Functionality surrounding the scroll box window class
6  * PROGRAMMERS: Benedikt Freisen
7  */
8 
9 #pragma once
10 
11 class CScrollboxWindow : public CWindowImpl<CScrollboxWindow>
12 {
13 public:
15 
21  END_MSG_MAP()
22 
23  LRESULT OnSize(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
24  LRESULT OnHScroll(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
25  LRESULT OnVScroll(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
26  LRESULT OnLButtonDown(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
27 };
28 
29 void UpdateScrollbox();
void UpdateScrollbox()
Definition: scrollbox.cpp:53
#define WM_LBUTTONDOWN
Definition: winuser.h:1752
#define DECLARE_WND_CLASS_EX(WndClassName, style, bkgnd)
Definition: atlwin.h:1867
#define COLOR_APPWORKSPACE
Definition: winuser.h:915
LRESULT OnVScroll(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
Definition: scrollbox.cpp:141
LRESULT OnSize(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
Definition: scrollbox.cpp:97
WPARAM wParam
Definition: combotst.c:138
UINT_PTR WPARAM
Definition: windef.h:207
LONG_PTR LPARAM
Definition: windef.h:208
LRESULT OnLButtonDown(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
Definition: scrollbox.cpp:176
#define _T(x)
Definition: vfdio.h:22
unsigned int BOOL
Definition: ntddk_ex.h:94
#define WM_SIZE
Definition: winuser.h:1593
#define END_MSG_MAP()
Definition: atlwin.h:1780
unsigned int UINT
Definition: ndis.h:50
#define WM_HSCROLL
Definition: winuser.h:1719
#define BEGIN_MSG_MAP(theClass)
Definition: atlwin.h:1761
#define MESSAGE_HANDLER(msg, func)
Definition: atlwin.h:1789
LONG_PTR LRESULT
Definition: windef.h:209
LRESULT OnHScroll(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
Definition: scrollbox.cpp:106
LPARAM lParam
Definition: combotst.c:139
#define WM_VSCROLL
Definition: winuser.h:1720