xref: /reactos/dll/cpl/desk/preview.h (revision 845faec4)
1 /*
2  * PROJECT:     ReactOS Desktop Control Panel
3  * LICENSE:     GPL - See COPYING in the top level directory
4  * FILE:        dll/cpl/desk/preview.h
5  * PURPOSE:     Definitions used by the preview control
6  * COPYRIGHT:   Copyright 2006, 2007 Eric Kohl
7  */
8 
9 #pragma once
10 
11 #define IDX_DESKTOP           0
12 #define IDX_INACTIVE_CAPTION  1
13 #define IDX_INACTIVE_BORDER   2
14 #define IDX_ACTIVE_CAPTION    3
15 #define IDX_ACTIVE_BORDER     4
16 #define IDX_MENU              5
17 #define IDX_SELECTION         6
18 #define IDX_WINDOW            7
19 #define IDX_SCROLLBAR         8
20 #define IDX_3D_OBJECTS        9
21 #define IDX_CAPTION_BUTTON   12
22 #define IDX_DIALOG           14
23 #define IDX_APPSPACE         16
24 #define IDX_QUICKINFO        20
25 
26 #define PVM_SETSIZE          (WM_USER+1)
27 #define PVM_GETSIZE          (WM_USER+2)
28 #define PVM_SETFONT          (WM_USER+3)
29 #define PVM_GETFONT          (WM_USER+4)
30 #define PVM_SETCOLOR         (WM_USER+5)
31 #define PVM_GETCOLOR         (WM_USER+6)
32 #define PVM_SET_HDC_PREVIEW  (WM_USER+7)
33 #define PVM_UPDATETHEME      (WM_USER+8)
34 
35 BOOL RegisterPreviewControl(IN HINSTANCE hInstance);
36 VOID UnregisterPreviewControl(IN HINSTANCE hInstance);
37