Go to the source code of this file.
◆ ArrangeIconicWindows()
Definition at line 148 of file winpos.c.
149{
151}
EXTINLINE UINT NtUserxArrangeIconicWindows(HWND hWnd)
◆ ClientToScreen()
Definition at line 263 of file winpos.c.
264{
266
268 if (!Wnd)
270
272 {
275 else
278 }
280}
#define ValidateHwnd(hwnd)
HWND WINAPI GetDesktopWindow(void)
◆ GetActiveWindow()
Definition at line 138 of file winpos.c.
139{
141}
@ THREADSTATE_ACTIVEWINDOW
DWORD_PTR NTAPI NtUserGetThreadState(DWORD Routine)
Referenced by check_active_state_(), check_wnd_state_(), DIALOG_CreateIndirect(), DoAppSwitch(), DoBlt(), EndDialog(), GetActiveContext(), GetWindowInfo(), IconTitleWndProc(), InitBitmap(), MCI_DefYieldProc(), MDI_ChildActivate(), MsgCheckProcA(), OnTimer(), output_message(), taskdialog_get_reference_rect(), test_attach_input(), test_capture_2(), test_EndDialog(), test_keyboard_input(), test_mdi_messages(), test_messages(), Test_SendInput(), test_SetActiveWindow(), test_SetFocus(), test_SetForegroundWindow(), TOOLTIPS_CheckTool(), TOOLTIPS_IsWindowActive(), and verify_window_info().
◆ MapWindowPoints()
Definition at line 168 of file winpos.c.
169{
171 BOOL mirror_from, mirror_to;
174 int Change = 1;
175
176 if (hWndFrom)
177 {
179 if (!FromWnd)
180 return 0;
181 }
182 if (hWndTo)
183 {
185 if (!ToWnd)
186 return 0;
187 }
188
189
191 mirror_from = mirror_to =
FALSE;
192
194 {
196 {
198 Change = -Change;
200 }
201 else
204 }
205
207 {
209 {
211 Change = -Change;
212 Delta.x += Change * ToWnd->rcClient.right;
213 }
214 else
215 Delta.x -= Change * ToWnd->rcClient.left;
216 Delta.y -= ToWnd->rcClient.top;
217 }
218
219 for (
i = 0;
i != cPoints;
i++)
220 {
222 lpPoints[
i].
x *= Change;
224 }
225
226 if ((mirror_from || mirror_to) && cPoints == 2)
227 {
228 int tmp =
min(lpPoints[0].
x, lpPoints[1].
x);
229 lpPoints[1].
x =
max(lpPoints[0].
x, lpPoints[1].
x);
231 }
232
234}
GLint GLint GLint GLint GLint x
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
◆ mirror_rect()
Definition at line 15 of file winpos.c.
16{
21}
GLint GLint GLsizei width
◆ ScreenToClient()
Definition at line 240 of file winpos.c.
241{
243
245 if (!Wnd)
247
249 {
252 else
255 }
257}
◆ WindowFromPoint()
Definition at line 157 of file winpos.c.
158{
159
160
162}
HWND NTAPI NtUserWindowFromPoint(LONG X, LONG Y)
◆ WINE_DEFAULT_DEBUG_CHANNEL()
WINE_DEFAULT_DEBUG_CHANNEL |
( |
user32 |
| ) |
|