1994-10-17 19:12:41 +01:00
|
|
|
/*
|
|
|
|
* *DeferWindowPos() structure and definitions
|
|
|
|
*
|
|
|
|
* Copyright 1994 Alexandre Julliard
|
|
|
|
*/
|
|
|
|
|
Release 960324
Sun Mar 24 13:13:11 1996 Alexandre Julliard <julliard@lrc.epfl.ch>
* [include/win.h] [windows/*.c]
Replaced next, parent, child and owner handles by pointers in WND
structure. This should improve performance, and should be
reasonably safe since Microsoft did the same in Win95.
* [include/wintypes.h] [*/*]
Redefined HANDLE to be UINT instead of a pointer for Winelib. This
allows removing a lot of unnecessary casts and NPFMTs.
* [windows/caret.c]
Create the caret brush upon CreateCaret(); use the bitmap
dimensions for the caret.
Fixed CARET_DisplayCaret() to use PatBlt().
Fri Mar 22 16:00:00 1996 Anand Kumria <akumria@ozemail.com.au>
* [misc/winsocket.c]
More sanity checks, fixup some erroneous return codes.
* [documentation/winsock]
Description of how compatible the winsock is currently.
Fri Mar 22 13:05:34 1996 Ulrich Schmid <uschmid@mail.hh.provi.de>
* [library/winmain.c]
Set `lpszCmdParam' by concatenating arguments.
* [loader/module.c]
WinExec: accept Unix commands, use Wine emulator.
Mon Mar 18 12:16:27 1996 Martin von Loewis <loewis@informatik.hu-berlin.de>
* [if1632/kernel32.spec][win32/thread.c][include/kernel32.h]
DeleteCriticalSection, EnterCriticalSection,
InitializeCriticalSection, LeaveCriticalSection, TlsAlloc,
TlsFree, TlsGetValue, TlsSetValue: new functions.
CRITICAL_SECTION: new structure.
* [if1632/kernel32.spec][win32/code_page.c]
WideCharToMultiByte: new function.
* [if1632/kernel32.spec][win32/file.c]
GetFileAttributesA: new function.
* [if1632/kernel32.spec][misc/main.c]
GetEnvironmentStringsW, FreeEnvironmentStringsA,
FreeEnvironmentStringsW: new functions.
* [if1632/user.spec][win32/cursoricon32.c][win32/Makefile.in]
cursoricon32.c: new file.
LoadCursorA, LoadCursorW: modified implementation from LoadCursor
to WIN32_*.
LoadIconA, LoadIconW: modified implementation from LoadIconA32
to WIN32_*.
* [include/struct32.h]
pragma pack inserted.
CURSORICON32 structures added.
* [include/winnls.h]
Constants CP_* and WC_* added.
* [loader/pe_image.c]
PE_LoadModule: call PE_InitDLL with hModule rather than wpnt.
Sun Mar 17 16:59:12 1996 Albrecht Kleine <kleine@ak.sax.de>
* [misc/commdlg.c]
Introduced hook function handling in file dialog.
Removed an unnecessary ShowWindow call in FILEDLG_WMCommand().
Thu Mar 14 10:50:00 1996 Thomas Sandford <t.d.g.sandford@prds-grn.demon.co.uk>
* [if1632/gdi32.spec]
Added GetNearestColor.
* [if1632/kernel32.spec]
Added GlobalAddAtomA.
* [win32/param32.c]
Added stackframe.h to includes.
WIN32_GlobalAddAtomA() - new function.
1996-03-24 17:20:51 +01:00
|
|
|
#ifndef __WINE_WINPOS_H
|
|
|
|
#define __WINE_WINPOS_H
|
|
|
|
|
2000-03-08 19:26:56 +01:00
|
|
|
#include "windef.h"
|
2000-03-24 22:13:57 +01:00
|
|
|
#include "wingdi.h"
|
|
|
|
#include "winuser.h"
|
2000-03-08 19:26:56 +01:00
|
|
|
|
|
|
|
struct tagWND;
|
1994-10-17 19:12:41 +01:00
|
|
|
|
1999-02-26 12:11:13 +01:00
|
|
|
#define DWP_MAGIC ((INT)('W' | ('P' << 8) | ('O' << 16) | ('S' << 24)))
|
1994-10-17 19:12:41 +01:00
|
|
|
|
1996-04-21 16:57:41 +02:00
|
|
|
/* undocumented SWP flags - from SDK 3.1 */
|
|
|
|
#define SWP_NOCLIENTSIZE 0x0800
|
|
|
|
#define SWP_NOCLIENTMOVE 0x1000
|
|
|
|
|
1999-06-18 19:03:13 +02:00
|
|
|
/* Wine extra SWP flag */
|
|
|
|
#define SWP_WINE_NOHOSTMOVE 0x80000000
|
|
|
|
|
1999-05-08 14:40:24 +02:00
|
|
|
struct tagWINDOWPOS16;
|
|
|
|
|
1994-10-17 19:12:41 +01:00
|
|
|
typedef struct
|
|
|
|
{
|
1999-02-26 12:11:13 +01:00
|
|
|
INT actualCount;
|
|
|
|
INT suggestedCount;
|
|
|
|
BOOL valid;
|
|
|
|
INT wMagic;
|
|
|
|
HWND hwndParent;
|
|
|
|
WINDOWPOS winPos[1];
|
1994-10-17 19:12:41 +01:00
|
|
|
} DWP;
|
|
|
|
|
1999-02-26 12:11:13 +01:00
|
|
|
extern BOOL WINPOS_RedrawIconTitle( HWND hWnd );
|
2000-03-08 19:26:56 +01:00
|
|
|
extern BOOL WINPOS_ShowIconTitle( struct tagWND* pWnd, BOOL bShow );
|
|
|
|
extern void WINPOS_GetMinMaxInfo( struct tagWND* pWnd, POINT *maxSize,
|
1999-02-26 12:11:13 +01:00
|
|
|
POINT *maxPos, POINT *minTrack,
|
|
|
|
POINT *maxTrack );
|
2000-03-08 19:26:56 +01:00
|
|
|
extern UINT WINPOS_MinMaximize( struct tagWND* pWnd, UINT16 cmd, LPRECT16 lpPos);
|
1999-02-26 12:11:13 +01:00
|
|
|
extern BOOL WINPOS_SetActiveWindow( HWND hWnd, BOOL fMouse,
|
|
|
|
BOOL fChangeFocus );
|
|
|
|
extern BOOL WINPOS_ChangeActiveWindow( HWND hwnd, BOOL mouseMsg );
|
|
|
|
extern LONG WINPOS_SendNCCalcSize(HWND hwnd, BOOL calcValidRect,
|
|
|
|
RECT *newWindowRect, RECT *oldWindowRect,
|
|
|
|
RECT *oldClientRect, WINDOWPOS *winpos,
|
|
|
|
RECT *newClientRect );
|
2000-03-08 19:26:56 +01:00
|
|
|
extern LONG WINPOS_HandleWindowPosChanging16(struct tagWND *wndPtr, struct tagWINDOWPOS16 *winpos);
|
|
|
|
extern LONG WINPOS_HandleWindowPosChanging(struct tagWND *wndPtr, WINDOWPOS *winpos);
|
|
|
|
extern INT16 WINPOS_WindowFromPoint( struct tagWND* scopeWnd, POINT16 pt, struct tagWND **ppWnd );
|
|
|
|
extern void WINPOS_CheckInternalPos( struct tagWND* wndPtr );
|
|
|
|
extern BOOL WINPOS_ActivateOtherWindow(struct tagWND* pWnd);
|
1999-02-26 12:11:13 +01:00
|
|
|
extern BOOL WINPOS_CreateInternalPosAtom(void);
|
1995-01-09 19:21:16 +01:00
|
|
|
|
Release 960324
Sun Mar 24 13:13:11 1996 Alexandre Julliard <julliard@lrc.epfl.ch>
* [include/win.h] [windows/*.c]
Replaced next, parent, child and owner handles by pointers in WND
structure. This should improve performance, and should be
reasonably safe since Microsoft did the same in Win95.
* [include/wintypes.h] [*/*]
Redefined HANDLE to be UINT instead of a pointer for Winelib. This
allows removing a lot of unnecessary casts and NPFMTs.
* [windows/caret.c]
Create the caret brush upon CreateCaret(); use the bitmap
dimensions for the caret.
Fixed CARET_DisplayCaret() to use PatBlt().
Fri Mar 22 16:00:00 1996 Anand Kumria <akumria@ozemail.com.au>
* [misc/winsocket.c]
More sanity checks, fixup some erroneous return codes.
* [documentation/winsock]
Description of how compatible the winsock is currently.
Fri Mar 22 13:05:34 1996 Ulrich Schmid <uschmid@mail.hh.provi.de>
* [library/winmain.c]
Set `lpszCmdParam' by concatenating arguments.
* [loader/module.c]
WinExec: accept Unix commands, use Wine emulator.
Mon Mar 18 12:16:27 1996 Martin von Loewis <loewis@informatik.hu-berlin.de>
* [if1632/kernel32.spec][win32/thread.c][include/kernel32.h]
DeleteCriticalSection, EnterCriticalSection,
InitializeCriticalSection, LeaveCriticalSection, TlsAlloc,
TlsFree, TlsGetValue, TlsSetValue: new functions.
CRITICAL_SECTION: new structure.
* [if1632/kernel32.spec][win32/code_page.c]
WideCharToMultiByte: new function.
* [if1632/kernel32.spec][win32/file.c]
GetFileAttributesA: new function.
* [if1632/kernel32.spec][misc/main.c]
GetEnvironmentStringsW, FreeEnvironmentStringsA,
FreeEnvironmentStringsW: new functions.
* [if1632/user.spec][win32/cursoricon32.c][win32/Makefile.in]
cursoricon32.c: new file.
LoadCursorA, LoadCursorW: modified implementation from LoadCursor
to WIN32_*.
LoadIconA, LoadIconW: modified implementation from LoadIconA32
to WIN32_*.
* [include/struct32.h]
pragma pack inserted.
CURSORICON32 structures added.
* [include/winnls.h]
Constants CP_* and WC_* added.
* [loader/pe_image.c]
PE_LoadModule: call PE_InitDLL with hModule rather than wpnt.
Sun Mar 17 16:59:12 1996 Albrecht Kleine <kleine@ak.sax.de>
* [misc/commdlg.c]
Introduced hook function handling in file dialog.
Removed an unnecessary ShowWindow call in FILEDLG_WMCommand().
Thu Mar 14 10:50:00 1996 Thomas Sandford <t.d.g.sandford@prds-grn.demon.co.uk>
* [if1632/gdi32.spec]
Added GetNearestColor.
* [if1632/kernel32.spec]
Added GlobalAddAtomA.
* [win32/param32.c]
Added stackframe.h to includes.
WIN32_GlobalAddAtomA() - new function.
1996-03-24 17:20:51 +01:00
|
|
|
#endif /* __WINE_WINPOS_H */
|