ReactOS 0.4.15-dev-8116-gf69e256
miniature.h
Go to the documentation of this file.
1/*
2 * PROJECT: PAINT for ReactOS
3 * LICENSE: LGPL-2.0-or-later (https://spdx.org/licenses/LGPL-2.0-or-later)
4 * PURPOSE: Window procedure of the main window and all children apart from
5 * hPalWin, hToolSettings and hSelection
6 * COPYRIGHT: Copyright 2015 Benedikt Freisen <b.freisen@gmx.net>
7 */
8
9#pragma once
10
11class CMiniatureWindow : public CWindowImpl<CMiniatureWindow>
12{
13public:
16
25
27 virtual ~CMiniatureWindow();
28
30
32 HBITMAP m_hbmCached; // Cached buffer bitmap
33
34 LRESULT OnMove(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
35 LRESULT OnSize(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
36 LRESULT OnClose(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
38 LRESULT OnPaint(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
41};
LRESULT OnEraseBkgnd(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
Definition: miniature.cpp:77
DECLARE_WND_CLASS_EX(L"MiniatureWindow", CS_DBLCLKS|CS_HREDRAW|CS_VREDRAW, COLOR_BTNFACE) CMiniatureWindow()
LRESULT OnGetMinMaxInfo(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
Definition: miniature.cpp:121
LRESULT OnSetCursor(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
LRESULT OnClose(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
Definition: miniature.cpp:70
HBITMAP m_hbmCached
Definition: miniature.h:32
LRESULT OnPaint(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
Definition: miniature.cpp:82
HWND DoCreate(HWND hwndParent)
Definition: miniature.cpp:27
LRESULT OnMove(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
Definition: miniature.cpp:46
LRESULT OnSize(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
Definition: miniature.cpp:58
WPARAM wParam
Definition: combotst.c:138
LPARAM lParam
Definition: combotst.c:139
static HWND hwndParent
Definition: cryptui.c:300
unsigned int BOOL
Definition: ntddk_ex.h:94
#define MESSAGE_HANDLER(msg, func)
Definition: atlwin.h:1926
#define BEGIN_MSG_MAP(theClass)
Definition: atlwin.h:1898
#define END_MSG_MAP()
Definition: atlwin.h:1917
static HBITMAP
Definition: button.c:44
static BOOL protected
Definition: protectdata.c:37
unsigned int UINT
Definition: ndis.h:50
#define L(x)
Definition: ntvdm.h:50
LONG_PTR LPARAM
Definition: windef.h:208
LONG_PTR LRESULT
Definition: windef.h:209
UINT_PTR WPARAM
Definition: windef.h:207
#define WM_PAINT
Definition: winuser.h:1620
#define WM_ERASEBKGND
Definition: winuser.h:1625
#define CS_VREDRAW
Definition: winuser.h:658
#define WM_CLOSE
Definition: winuser.h:1621
#define WM_SIZE
Definition: winuser.h:1611
#define CS_HREDRAW
Definition: winuser.h:653
#define CS_DBLCLKS
Definition: winuser.h:651
#define WM_GETMINMAXINFO
Definition: winuser.h:1640
#define WM_MOVE
Definition: winuser.h:1610
#define COLOR_BTNFACE
Definition: winuser.h:928