Commit Graph

203 Commits

Author SHA1 Message Date
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
Francis Beaudet b7e8e8002d Fixed GetTopWindow so it will correctly handle the NULL parameter. 1999-05-22 10:46:30 +00:00
Marcus Meissner d7c565f5de Replaced WIN_GetWindowInstance by GetWindowLongA(GWL_HINSTANCE),
removed unnecessary win.h includes, added syslevel.h to queue.c.
1999-05-14 18:39:37 +00:00
Ove Kaaven bcb4bb6931 Cleaner Suspend/RestoreWndsLock, which should fix some slowness. 1999-05-12 10:07:02 +00:00
Alex Korobka 98447497b7 Rearranged PAINT_RedrawWindow() so that it first recursively updates
invalid regions and only then starts sending out messages. This should
help with reentrancy during message processing and now it needs just
one (or none) scratch region for all there is to do. Also, small fixes
for SetWindowPos().
1999-05-08 17:57:09 +00:00
Michael Veksler 9d14a001f7 Removed #include "wine/winuser16.h" and use "struct tag????" instead. 1999-05-08 12:40:24 +00:00
Ulrich Weigand ef61c0b632 Initialize WIN_CritSection earlier. 1999-05-08 09:45:50 +00:00
Alexandre Julliard 06c275a643 Converted to the new debugging interface (done with the help of the
script written by Patrik Stridvall).
1999-05-02 14:32:27 +00:00
Patrik Stridvall b4b9fae671 New debug scheme with explicit debug channels declaration. 1999-04-19 14:56:29 +00:00
Eric Pouech 3be8e3b7ff Properly handling cases like calling SetWindowPos while processing
WM_NCCREATE.
1999-04-18 13:13:40 +00:00
Francois Boisvert 0ed478d1d7 Enabled thread safeness for wnd structure code. 1999-04-11 17:16:19 +00:00
Eric Pouech c049e81683 No longer sending atoms in ((CREATESTRUCT*)lParam)->lpszName of
WM_CREATE messages.
1999-04-03 16:24:47 +00:00
Francois Boisvert 86e2e11137 Transfered the window struct memory release from WIN_DestroyWindow to
WIN_ReleaseWndPtr.
1999-04-03 11:13:33 +00:00
Francois Boisvert d96bc15580 Suspend all windows locks before the control is passed to the
application.
Also fixed some bugs in dce.c
1999-04-02 10:34:43 +00:00
Alex Korobka 44a1b59cec Fixes for ignored WVR_[VH]REDRAW flags, made minimization in managed
mode go through window manager, small bugfixes for menu and window
code, extended clipboard driver model to handle formats other than
text.
1999-04-01 12:03:52 +00:00
Patrik Stridvall b87fe2e9bf More code moved to the X11 driver (bitmap and palette and misc). 1999-04-01 08:16:08 +00:00
Francois Boisvert 3a3cd9fab1 Fixed some bugs in thread safeness for wnd struct. 1999-03-28 12:42:52 +00:00
Alex Korobka 4f1ac05dea Moved hrgnUpdate from client to window coordinates, made nonclient
painting depend on the update region, reworked SetWindowPos() and
RedrawWindow() to speed up update region calculation, made -desktop
work properly, added WM_CANCELMODE here and there, fixed several
window activation bugs that crept in since the last time.
1999-03-28 09:37:57 +00:00
Francis Beaudet 7c2f0fe45d Clear update region before WM_NCDESTROY. 1999-03-21 08:50:41 +00:00
Pavel Roskin c501207956 Fixed WIN_SendDestroyMsg. 1999-03-19 16:59:18 +00:00
Francis Beaudet eb6a9f0804 Implemented a more defensive version of WIN_SendDestroyMsg. 1999-03-17 15:17:48 +00:00
Pavel Roskin 598993f41f Fixed bug introduced in WIN_FindWindow. 1999-03-16 09:53:10 +00:00