1 /*
2  * PROJECT:     PAINT for ReactOS
3  * LICENSE:     LGPL
4  * FILE:        base/applications/mspaint/miniature.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 CMiniatureWindow : public CWindowImpl<CMiniatureWindow>
13 {
14 public:
15     DECLARE_WND_CLASS_EX(_T("MiniatureWindow"), CS_DBLCLKS, COLOR_BTNFACE)
16 
17     BEGIN_MSG_MAP(CMiniatureWindow)
18         MESSAGE_HANDLER(WM_CLOSE, OnClose)
19         MESSAGE_HANDLER(WM_PAINT, OnPaint)
20         MESSAGE_HANDLER(WM_SETCURSOR, OnSetCursor)
21     END_MSG_MAP()
22 
23     LRESULT OnClose(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
24     LRESULT OnPaint(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
25     LRESULT OnSetCursor(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
26 };
27