702 Commits

Author SHA1 Message Date
Lawson Whitney
9fd10756ad Stop DCE_GetVisRect dereferencing a null wndPtr. 1999-07-18 18:23:20 +00:00
Abey George
8beefb51bf Validate the parent with the child window client rectangle when the
parent's update region is not empty.
1999-07-18 15:40:03 +00:00
Francis Beaudet
c37dd06f78 Delay WM_NCPAINT message until the "painter's algorithm" kicks in. 1999-07-18 15:38:29 +00:00
Ove Kaaven
483c548eed CreateDialogParamA should not call CreateDialogParamW, because
that'd create a dialog box with a Unicode dialog procedure...
1999-07-18 15:29:09 +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
Gerard Patel
03c13bbdd7 Revert last change in window activation on mouse click. 1999-07-11 13:52:13 +00:00
Howard Abrams
132774804e Added checks for sys/errno.h, sys/signal.h and sys/mman.h. 1999-07-10 13:16:29 +00:00
Ulrich Weigand
f03c93669b Create dialog window using CreateWindowEx16/W depending on template
type, not dialog procedure type.
1999-07-10 13:08:50 +00:00
Ulrich Weigand
203780eb6e Removed all EVENT_Synchronize( FALSE ) calls; use a periodic callback
calling XFlush() instead.
1999-07-10 10:24:31 +00:00
Alexandre Julliard
359f497e97 Converted to the new debug interface, using script written by Patrik
Stridvall.
1999-07-04 16:02:24 +00:00
Noomen Hamza
c01509ccc4 Windows should be activated in these cases:
1- when we click on non active window.
2- when we cancel a moving or resizing of a non active window.
1999-07-04 15:54:11 +00:00
Patrik Stridvall
d96e1f133e Moved code to the X11 driver. 1999-07-04 13:31:03 +00:00
Uwe Bonnes
a2b938c2d5 WIN_FindWindow: use GetExeptr(pWnd->hInstance) for CLASS_FindClassByAtom. 1999-07-04 12:52:14 +00:00
Per Ångström
53c2028b52 Fixed a problem with apps that override the default behaviour on
WM_MOUSEACTIVATE message (main window was not activated).
1999-07-04 12:46:37 +00:00
Yuxi Zhang
8e35d65f06 Fix a bug in SetWindowPos to prevent parent from erasing its child
painting area when parent window and child window don't have
WS_CLIPCHILDREN and WS_CLIPSIBLINGS.
1999-07-04 10:53:43 +00:00
Yuxi Zhang
526ffdc304 Make defwndproc erase the correct location. 1999-07-04 10:51:28 +00:00
Marcus Meissner
623c0d6f94 some small include fixes, some checks for NULL ptrs,
loader/elf.c: fixed the "lib" insertion
crtdll: added fsopen()
dinput: return that we are attached.
1999-07-03 16:01:42 +00:00
Ove Kaaven
60c78f143b Reworked nonclient drawing code. Win31 look now works more like real
Win31, so apps like Delphi 1.0 no longer go into infinite recursion
etc. Fixed a couple of bugs in win95 look too, but not as thoroughly
(e.g. WS_EX_WINDOWEDGE is still not handled).
1999-07-03 15:40:29 +00:00
Ove Kaaven
5d24a3a2b0 SM_C[XY]FRAME is BorderWidth + 1. 1999-07-03 15:39:09 +00:00
Gerard Patel
4c2a07705c Remove the validated child area from the update region of parent for
windows without WS_CLIPCHILDREN style.
1999-06-27 15:32:23 +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
Patrik Stridvall
1ed4ecffa8 ANSI C fixes.
Removed warnings.
Made the include files self-sufficient.
Some Solaris fixes.
1999-06-26 14:58:24 +00:00
Lars Heete
dfc46d94a6 Prevent bad window X error. 1999-06-26 11:45:36 +00:00
Abey George
967ec70fe5 The system menu icon on a MDI child window was corrupted when the
child frame window is maximized within the main frame when the wine
look is Windows 95.
1999-06-26 11:44:18 +00:00
Slava Monich
359a748d9b In case if scrollbar has the same background color as the window
it belongs to, it needs to be filled with 0x55aa bitmap brush.
1999-06-26 11:42:27 +00:00
Noomen Hamza
e3e54cd4a2 SetCursorPos() function was called with a window coordinates
parameter.
1999-06-26 10:31:44 +00:00
Pascal Lessard
31c58546c9 EnableWindow doesn't release the capture of a child window. 1999-06-26 10:17:10 +00:00
Ulrich Weigand
a9238080b7 Use separate service for each windows timer. 1999-06-22 19:11:33 +00:00
Eric Pouech
09f03b410e Moved to new trace interface.
Fixed driver closing.
1999-06-22 19:07:34 +00:00
Philippe Froidevaux
c778d9bc85 Added Swiss french keyboard layout. 1999-06-22 19:01:14 +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
Alexandre Julliard
55e1af93b5 Added DebugBreak. 1999-06-18 18:24:47 +00:00
Ulrich Weigand
7f53c57321 - Do not call XConfigureWindow if SetWindowPos was called due to a
received ConfigureNotify event (to avoid recursion).
- Use XTranslateCoordinates in EVENT_GetGeometry instead of manually
  walking the tree.
- Set XSizeHint.win_gravity to StaticGravity for managed windows.
1999-06-18 17:03:13 +00:00
Ulrich Weigand
a7617a05d1 Bugfix: DISPLAY_SetCursor should not use USER-internals, as it is also
used with native USER ...
1999-06-13 08:35:26 +00:00
Noomen Hamza
ff0149e73b Avoid painting destroyed windows. 1999-06-12 18:29:07 +00:00
Patrik Stridvall
fdcfdb9a6d Added missing/wrong includes. 1999-06-12 14:55:11 +00:00
Patrik Stridvall
4bf335497d Removed direct references to CLASS internals. 1999-06-12 14:52:15 +00:00
Gerard Patel
5773dade8e Draws a border around windows with old win31 style (only ws_border) in
win95 look.
1999-06-12 14:45:56 +00:00
Pavel Roskin
4b5f876e74 DIALOG_ParseTemplate16() supported up to 127 controls. Bigger values
were expanded to WORD incorrectly.
1999-06-12 08:11:32 +00:00
Noomen Hamza
fe0a5e8895 Fixed imprecision in the MDI tiling functionality. 1999-06-12 08:08:35 +00:00
Slava Monich
50d74e1ff2 dwDataSize needs to be reset before each RegQueryValueEx() call. 1999-06-12 06:46:46 +00:00
Ulrich Weigand
b38e1decb8 Better implementation of [GS]etForegroundWindow.
Fixed focus handling on inter-thread activation.
Adapted FocusIn/Out event handling to per-queue focus.
1999-06-12 06:42:20 +00:00
Eric Pouech
ab450aad07 Fixed order for entering critical sections (X11 vs. WndLock) when
calling X11DRV_MOUSE_SetCursor.
1999-06-07 17:38:53 +00:00
Ron Cemer
16dbfe96c6 Fixes for Win9x and WinNT look and feel. 1999-06-06 17:14:24 +00:00
Ulrich Weigand
79f203af48 Release WND lock before calling PostEvent16(). 1999-06-06 14:42:10 +00:00
Slava Monich
3a170a1724 Implemented dialog units -> pixels conversion very close to how it's
actually done by Windows.
1999-06-06 09:03:08 +00:00
Uwe Bonnes
991fc35847 Add back lost treatment of HWND_TOPMOST. 1999-06-05 15:16:57 +00:00
Ulrich Weigand
92499dba2f Try to improve ConfigureNotify event processing. 1999-06-05 15:12:39 +00:00
Ulrich Weigand
2bb2d9b008 Fixed potential memory corruption in EVENT_QueryZOrder.
Fixed potential X synchronization problem in X11DRV_WND_SetHostAttr.
1999-06-05 11:49:04 +00:00