ReactOS  0.4.15-dev-3181-g4acf100
fullscreen.h
Go to the documentation of this file.
1 /*
2  * PROJECT: PAINT for ReactOS
3  * LICENSE: LGPL
4  * FILE: base/applications/mspaint/fullscreen.h
5  * PURPOSE: Window for fullscreen view
6  * PROGRAMMERS: Benedikt Freisen
7  */
8 
9 #pragma once
10 
11 class CFullscreenWindow : public CWindowImpl<CFullscreenWindow>
12 {
13 public:
14  DECLARE_WND_CLASS_EX(_T("FullscreenWindow"), CS_DBLCLKS, COLOR_BACKGROUND)
15 
25  END_MSG_MAP()
26 
27  LRESULT OnCreate(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
29  LRESULT OnPaint(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
30  LRESULT OnSize(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
32  LRESULT OnGetText(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
33 };
#define WM_LBUTTONDOWN
Definition: winuser.h:1759
#define WM_GETTEXT
Definition: winuser.h:1601
#define DECLARE_WND_CLASS_EX(WndClassName, style, bkgnd)
Definition: atlwin.h:1935
UINT_PTR WPARAM
Definition: windef.h:207
LRESULT OnGetText(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
Definition: fullscreen.cpp:57
WPARAM wParam
Definition: combotst.c:138
LRESULT OnCloseOrKeyDownOrLButtonDown(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
Definition: fullscreen.cpp:22
LRESULT OnSize(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
Definition: fullscreen.cpp:44
unsigned int BOOL
Definition: ntddk_ex.h:94
#define WM_SETCURSOR
Definition: winuser.h:1619
#define WM_KEYDOWN
Definition: winuser.h:1698
LONG_PTR LPARAM
Definition: windef.h:208
#define _T(x)
Definition: vfdio.h:22
LRESULT OnPaint(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
Definition: fullscreen.cpp:29
#define WM_SIZE
Definition: winuser.h:1594
#define END_MSG_MAP()
Definition: atlwin.h:1848
#define WM_CLOSE
Definition: winuser.h:1604
#define WM_PAINT
Definition: winuser.h:1603
LRESULT OnSetCursor(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
Definition: fullscreen.cpp:50
#define CS_DBLCLKS
Definition: winuser.h:646
LRESULT OnCreate(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
Definition: fullscreen.cpp:15
unsigned int UINT
Definition: ndis.h:50
#define BEGIN_MSG_MAP(theClass)
Definition: atlwin.h:1829
#define MESSAGE_HANDLER(msg, func)
Definition: atlwin.h:1857
#define WM_CREATE
Definition: winuser.h:1591
#define COLOR_BACKGROUND
Definition: hardware.h:164
LONG_PTR LRESULT
Definition: windef.h:209
LPARAM lParam
Definition: combotst.c:139