]> git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/wince/missing.h
2.4 -> 2.5; build in another directory than source one; mention --disable-shared
[wxWidgets.git] / include / wx / msw / wince / missing.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wince/missing.h
3 // Purpose: Missing things in WinCE 3.0
4 // Author: Marco Cavallini
5 // Modified by:
6 // Created: 16/11/2002
7 // RCS-ID:
8 // Copyright: (c) KOAN SAS ( www.koansoftware.com )
9 // Licence: wxWindows licence
10 ///////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_CE_MISSING_H_
13 #define _WX_CE_MISSING_H_
14
15
16 #include "wx/msw/private.h"
17
18 /*
19 Most of these are in MSVC++6.0 <wx\wince\winuser.h>
20 see also <wx\msw\gnuwin32\winresrc.h>
21 */
22 ////////////////////////////////////////////////////////
23
24 /*
25 * Extended Window Styles
26 */
27 #define WS_EX_DLGMODALFRAME 0x00000001L
28 #define WS_EX_NOPARENTNOTIFY 0x00000004L
29 #define WS_EX_TOPMOST 0x00000008L
30 #define WS_EX_ACCEPTFILES 0x00000010L
31 #define WS_EX_TRANSPARENT 0x00000020L
32
33 #define WS_EX_MDICHILD 0x00000040L
34 #define WS_EX_TOOLWINDOW 0x00000080L
35 #define WS_EX_WINDOWEDGE 0x00000100L
36 #define WS_EX_CLIENTEDGE 0x00000200L
37 #define WS_EX_CONTEXTHELP 0x00000400L
38
39 #define WS_EX_RIGHT 0x00001000L
40 #define WS_EX_LEFT 0x00000000L
41 #define WS_EX_RTLREADING 0x00002000L
42 #define WS_EX_LTRREADING 0x00000000L
43 #define WS_EX_LEFTSCROLLBAR 0x00004000L
44 #define WS_EX_RIGHTSCROLLBAR 0x00000000L
45
46 #define WS_EX_CONTROLPARENT 0x00010000L
47 #define WS_EX_STATICEDGE 0x00020000L
48 #define WS_EX_APPWINDOW 0x00040000L
49
50
51 #define WS_EX_OVERLAPPEDWINDOW (WS_EX_WINDOWEDGE | WS_EX_CLIENTEDGE)
52 #define WS_EX_PALETTEWINDOW (WS_EX_WINDOWEDGE | WS_EX_TOOLWINDOW | WS_EX_TOPMOST)
53
54
55 /*
56 * Flags for TrackPopupMenu
57 */
58 #define TPM_LEFTBUTTON 0x0000L
59 #define TPM_RIGHTBUTTON 0x0002L
60 #define TPM_LEFTALIGN 0x0000L
61 #define TPM_CENTERALIGN 0x0004L
62 #define TPM_RIGHTALIGN 0x0008L
63
64 #define TPM_TOPALIGN 0x0000L
65 #define TPM_VCENTERALIGN 0x0010L
66 #define TPM_BOTTOMALIGN 0x0020L
67
68 #define TPM_HORIZONTAL 0x0000L /* Horz alignment matters more */
69 #define TPM_VERTICAL 0x0040L /* Vert alignment matters more */
70 #define TPM_NONOTIFY 0x0080L /* Don't send any notification msgs */
71 #define TPM_RETURNCMD 0x0100L
72
73 #define TPM_RECURSE 0x0001L
74
75
76
77 ////////////////////////////////////////////////////////
78 // Missing declarations into WinCE include files (MCK)
79 ////////////////////////////////////////////////////////
80
81 HCURSOR WINAPI
82 DestroyCursor(HCURSOR hCursor);
83
84 HCURSOR WINAPI
85 CreateCursor(HINSTANCE hInst,
86 int xHotSpot,
87 int yHotSpot,
88 int nWidth,
89 int nHeight,
90 CONST VOID *pvANDPlane,
91 CONST VOID *pvXORPlane );
92
93 ////////////////////////////////////////////////////////
94
95 int WINAPI
96 GetScrollPos(
97 HWND hWnd,
98 int nBar);
99
100 bool WINAPI
101 GetScrollRange(
102 HWND hWnd,
103 int nBar,
104 LPINT lpMinPos,
105 LPINT lpMaxPos);
106
107 bool WINAPI
108 ScrollWindow(
109 HWND hWnd,
110 int XAmount,
111 int YAmount,
112 CONST RECT *lpRect,
113 CONST RECT *lpClipRect);
114
115 LRESULT WINAPI
116 CallWindowProcA(
117 WNDPROC lpPrevWndFunc,
118 HWND hWnd,
119 UINT Msg,
120 WPARAM wParam,
121 LPARAM lParam);
122
123 LRESULT WINAPI
124 CallWindowProcW(
125 WNDPROC lpPrevWndFunc,
126 HWND hWnd,
127 UINT Msg,
128 WPARAM wParam,
129 LPARAM lParam);
130
131 #ifdef UNICODE
132 #define CallWindowProc CallWindowProcW
133 #else
134 #define CallWindowProc CallWindowProcA
135 #endif // !UNICODE
136
137 ////////////////////////////////////////////////////////
138
139 #endif // _WX_CE_MISSING_H_