ReactOS 0.4.15-dev-5672-gf73ac17
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
11class CScrollboxWindow : public CWindowImpl<CScrollboxWindow>
12{
13public:
15
23
24 LRESULT OnSize(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
29};
30
31void UpdateScrollbox();
LRESULT OnVScroll(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
Definition: scrollbox.cpp:144
LRESULT OnHScroll(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
Definition: scrollbox.cpp:108
LRESULT OnSize(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
Definition: scrollbox.cpp:99
LRESULT OnMouseWheel(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
Definition: scrollbox.cpp:203
LRESULT OnLButtonDown(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
Definition: scrollbox.cpp:180
WPARAM wParam
Definition: combotst.c:138
LPARAM lParam
Definition: combotst.c:139
unsigned int BOOL
Definition: ntddk_ex.h:94
#define MESSAGE_HANDLER(msg, func)
Definition: atlwin.h:1920
#define BEGIN_MSG_MAP(theClass)
Definition: atlwin.h:1892
#define END_MSG_MAP()
Definition: atlwin.h:1911
#define DECLARE_WND_CLASS_EX(WndClassName, style, bkgnd)
Definition: atlwin.h:1998
unsigned int UINT
Definition: ndis.h:50
void UpdateScrollbox()
Definition: scrollbox.cpp:53
#define WM_MOUSEWHEEL
Definition: treelist.c:96
#define _T(x)
Definition: vfdio.h:22
LONG_PTR LPARAM
Definition: windef.h:208
LONG_PTR LRESULT
Definition: windef.h:209
UINT_PTR WPARAM
Definition: windef.h:207
#define WM_HSCROLL
Definition: winuser.h:1733
#define WM_VSCROLL
Definition: winuser.h:1734
#define WM_SIZE
Definition: winuser.h:1601
#define WM_LBUTTONDOWN
Definition: winuser.h:1766
#define COLOR_APPWORKSPACE
Definition: winuser.h:919