Commit Graph

224 Commits

Author SHA1 Message Date
Dmitry Timoshkov
5956b986d9 Slightly rearrange WIN16/WIN32A/WIN32 window creation. 2000-11-28 23:53:08 +00:00
Alexandre Julliard
ac7efef3b5 Changed GetProcAddress16 and 16-bit resource functions to take normal
pointers instead of SEGPTRs.
Removed WIN16_GetTempDrive.
2000-11-27 21:54:01 +00:00
Alexandre Julliard
ab687979fd Moved standard syslevel APIs declaration to winbase.h.
Use exported syslevel function wherever possible.
Moved SEGPTR declaration to windef16.h.
2000-11-15 23:41:46 +00:00
Alexandre Julliard
1f029ea6f5 Authors: Gerard Patel <g.patel@wanadoo.fr>, Marcus Meissner <marcus@jet.franken.de>
Move focus recalculation out of the window destroy recursion
so we do not send WM_SETFOCUS to already destroyed windows.
2000-11-02 20:08:59 +00:00
Susan Farley
557066db1c Status bars on managed windows should not have SIZEGRIP style. 2000-10-13 17:07:08 +00:00
Alexandre Julliard
83f52d11c1 Moved all Win16 definitions out of the standard Windows headers. 2000-09-26 22:20:14 +00:00
Alexandre Julliard
0ff083bab8 Call WH_GETMESSAGE hook in PeekMessage too (based on a patch by Rob
Farnum).
2000-09-24 19:51:15 +00:00
Louis Philippe Gagnon
06057e7aac - Separate application calls to ShowOwnedPopups from Wine calls (in
EVENT_MapNotify) by introducing an internal function.
- Fix ShowOwnedPopups so it sends messages with the same parameters as
  in Windows.
2000-08-20 03:40:59 +00:00
Alexandre Julliard
42d20f9dca Merged clipboard driver into USER driver.
Moved all ttydrv source files to dlls/ttydrv.
Load functions pointer for the USER driver from the graphics driver
dll with GetProcAddress.
2000-08-10 01:16:19 +00:00
Alexandre Julliard
cb10fdab99 Replaced lstrlen/lstrcmp by libc equivalents everywhere we don't need
to trap exceptions.
2000-08-06 02:41:16 +00:00
Alexandre Julliard
646c562f9c Cleaned up some more USER dependencies. 2000-07-31 23:32:47 +00:00
Huw D M Davies
a14ca868d0 Initialize hrgnWnd. 2000-07-29 11:31:29 +00:00
Gerard Patel
72b93d47f0 Allow SetWindowLong(... GWL_STYLE) to change visible bit. 2000-07-15 19:42:52 +00:00
Dmitry Timoshkov
04da8b8f28 Convert WND.text field to Unicode.
Add new key to wine.ini in the section [x11drv] - TextCP, which means
code page used for texts passed to X.
Accordingly fix handlers of WM_SETTEXT/WM_GETTEXT.
2000-07-10 12:09:31 +00:00
Lawson Whitney
68dd679043 Moved zero-sized window hack to x11drv. 2000-06-25 12:53:27 +00:00
Alexandre Julliard
6aa2843fa9 Yet another attempt at fixing CW_USEDEFAULT handling. 2000-06-08 01:01:09 +00:00
Alexandre Julliard
5e9dab58da The window dimensions have to be initialized before sending the
WM_GETMINMAXINFO message.
2000-06-07 02:03:19 +00:00
Gerard Patel
78f52b5681 Set a default size for windows when CW_USEDEFAULT is used. 2000-05-31 19:23:20 +00:00
Alexandre Julliard
9baa51e1c0 Use GetStartupInfoA() instead of accessing process structure
directly.
2000-05-30 19:46:58 +00:00
Alexandre Julliard
b8774f95e5 Serge Ivanov
SetParent: call SetWindowPos with SWP_NOACTIVATE flag set.
2000-05-30 17:50:41 +00:00
Guy Albertelli
38db0980c5 Clear menu handle after destroying menu. 2000-05-11 00:06:38 +00:00
Patrik Stridvall
2d6457c11a Added/fixed some documentation reported by winapi_check. 2000-03-28 20:22:59 +00:00
Alexandre Julliard
7f3418fba0 Store monitor size and depth in the generic structure.
Merged monitor driver into USER driver.
2000-03-25 17:30:13 +00:00
Alexandre Julliard
d6c0d8642c Moved gdi/user thunking functions into their respective dlls.
Moved keyboard.spec into user dll.
2000-03-24 21:38:30 +00:00
Alexandre Julliard
28c3a1baf3 Moved graphics initialisation to the x11drv/ttydrv dll init code.
Merged event, keyboard and mouse drivers into USER driver.
2000-03-20 18:21:19 +00:00
Alexandre Julliard
4f15239c3a ATOMs are considered unique, so we don't need to check class
pointers in FindWindow.
2000-02-25 20:45:23 +00:00
Andreas Mohr
1c20b39fa5 - fixed my slightly incorrect EndDialog patch
- cleaned up win.c
2000-02-20 19:17:35 +00:00
Noomen Hamza
ff72776e55 Popup windows will be hidden when minimizing the main frame. 2000-02-18 19:11:04 +00:00
Alexandre Julliard
90476d6b4a Moved SystemHeap allocations to the process heap. 2000-02-16 22:47:24 +00:00
Gerard Patel
6fdb5ddc0c Do not use GlobalFindAtom with atom handles in CreateWindow* functions. 2000-02-16 21:23:24 +00:00
Alexandre Julliard
b849d79104 Moved global atoms to the server (based on the work of Sergei
Turchanov <turchanov@otvprim.ru>).
2000-02-13 13:56:13 +00:00
Jeremy White
d3e22d9d55 Removed #include of wingdi.h and windef.h from winuser.h (and resolved
the resulting compilation failures).
2000-02-10 19:03:02 +00:00
Alexandre Julliard
f1f68312e7 Fixed potential buffer overflows (spotted by Francois Gouget). 2000-01-01 22:22:21 +00:00
Dimitrie O. Paun
dd03cc19fd Make use of the DEFAULT_DEBUG_CHANNEL where appropriate.
Use the default version of FIXME, ERR, WARN, TRACE for the default
channel.
1999-12-08 03:56:23 +00:00
Huw D M Davies
238b6d7040 Fixed a couple of compiler warnings. 1999-10-31 01:56:51 +00:00
Uwe Bonnes
7361916dd3 Warn users to use -the -desktop option together with the native user DLLs. 1999-10-24 20:42:39 +00:00
Rein Klazes
d4a2ceede0 Use the module handle, if CreateWindowEx is called with
hInstance==NULL.
1999-10-23 13:57:36 +00:00
Noomen Hamza
a018d8508f Rewrite the ShowOwnedPopups function with a safety algorithm. 1999-09-28 16:26:09 +00:00
Abey George
48c6eb55f7 Fixed resizing bugs for windows with WS_THICKFRAME and WS_DLGFRAME
styles.
1999-09-03 12:33:40 +00:00
Alexandre Julliard
4220b29be9 Take advantage of the new registers saved in the STACK16FRAME to turn
some 'register' functions into normal functions.
Removed the few remaining 'return' functions to simplify relay
handling.
1999-07-11 17:20:01 +00:00
Marcus Meissner
e32a317b76 Removed the old, historical and no longer working IPC support. 1999-07-11 14:13:56 +00:00
Uwe Bonnes
a2b938c2d5 WIN_FindWindow: use GetExeptr(pWnd->hInstance) for CLASS_FindClassByAtom. 1999-07-04 12:52:14 +00:00
Alexandre Julliard
617955db88 Changed CONTEXT into CONTEXT86 everywhere we really want an i386
context.
Added #ifdef __i386__ around accesses to 386 registers in the generic
CONTEXT structure.
1999-06-26 18:40:24 +00:00
Pascal Lessard
31c58546c9 EnableWindow doesn't release the capture of a child window. 1999-06-26 10:17:10 +00:00
Alexandre Julliard
0a860a01f9 Merged THDB and TEB structures.
Made SetLastError(), GetCurrentThreadId() and PROCESS_Current() inline.
1999-06-22 11:43:42 +00:00
Slava Monich
a27807dca8 o check for both CW_USEDEFAULT and CW_USEDEFAULT16.
o if x is CW_USEDEFAULT (or CW_USEDEFAULT16) and y is *not*
  CW_USEDEFAULT (or CW_USEDEFAULT16) then use y as a second
  parameter to ShowWindow(). Some apps (CALC.EXE for Win98
  is one of them) use this undocumented feature to create
  hidden window with WS_VISIBLE style set.
1999-06-05 11:46:35 +00:00
Francis Beaudet
21d50f8ded Fixed a behavior of the focus when a parent window is disabled. 1999-05-29 14:10:02 +00:00
Francis Beaudet
4812647155 Fixed a major memory leak in the window management code. 1999-05-22 19:21:01 +00:00
Ulrich Weigand
c5b8b3aeae Improved syslevel handling, store currently held syslevels in thread
database, WIN_CritSection converted to syslevel.
1999-05-22 16:28:47 +00:00
Marcus Meissner
ddca315388 Replaced all occurences of SYSMETRICS_xx and sysMetrics[SM_xx] by
GetSystemMetrics(SM_xx), removed no longer needed includes of
sysmetrics.h.
1999-05-22 11:33:23 +00:00