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
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
Ulrich Weigand
153334e50a
Removed DummyMotionNotify EVENT driver routine.
1999-06-05 09:02:11 +00:00
Alexandre Julliard
54a39e253c
Got rid of THREAD_InitDone.
...
Made THREAD_Current() inline.
Moved server tid into TEB.
1999-05-29 14:27:26 +00:00
Luc Tourangeau
8e238d04f8
Reimplemented the CheckRadioButton function.
1999-05-29 14:19:42 +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
Gerard Patel
16c3cc27d1
Remove unnecessary warning in TranslateAccelator.
1999-05-29 14:02:28 +00:00
Rikhardur Egilsson
365c54e77a
Icelandic keyboard support.
1999-05-29 11:04:09 +00:00
Eric Pouech
c744345a1f
Remove extraneous winuser16.h.
1999-05-24 08:15:57 +00:00
Ulrich Weigand
89fc6fda97
Moved WINSOCK network IO event handling to special thread.
...
Removed EVENT_WaitNetEvent, introduced a global scheduler event.
1999-05-24 08:13:02 +00:00
Ulrich Weigand
e99e844c75
Fix typo (wrong DISPLAY.CheckCursor ordinal).
...
Superfluous FIXME converted to TRACE in CheckCursor.
1999-05-23 09:18:30 +00:00
Francis Beaudet
4812647155
Fixed a major memory leak in the window management code.
1999-05-22 19:21:01 +00:00
Eric Pouech
6cf348d70a
In SetWindowPos if changing Z order and child window not yet in its
...
parent list, do not link it in WINPOS_ShowIconTitle, check for retval
of WIN_FindWndPtr.
1999-05-22 19:20:02 +00:00
Ulrich Weigand
4698dc5677
Added UserRepaintDisable16().
1999-05-22 19:02:04 +00:00
Ulrich Weigand
a11de67bf2
Removed EVENT_WaitNetEvent() calls.
1999-05-22 19:01:37 +00:00
Ulrich Weigand
5cd4737854
Added IsUserIdle16().
1999-05-22 19:00:27 +00:00
Ulrich Weigand
5c982c90d2
Adapted to EVENT_ driver changes.
1999-05-22 18:59:15 +00:00
Ulrich Weigand
7581f85617
Moved X input event handling out of EVENT_WaitNetEvent and into
...
service thread callback; moved EVENT_WaitNetEvent out of the EVENT_
driver. Changed winContext to hold HWND instead of WND *.
1999-05-22 18:57:17 +00:00
Ulrich Weigand
c758201397
Don't change Z-order of child windows when activating.
1999-05-22 18:54:41 +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
Ulrich Weigand
c319c669fb
Added ExitKernel16 (replacing USER_ExitWindows), ExitProcess16, and
...
MapProcessHandle; stub for BUNNY_351.
1999-05-22 16:18:36 +00:00
Paul Quinn
2305f3c06d
Microsoft com vtable compatibility workaround for g++. Basically adds
...
an optional 8 bytes padding to COM objects where the RTTI would be.
1999-05-22 11:41:38 +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
Juergen Schmied
9090502fda
Set the default menu item of the window menu
1999-05-17 15:05:08 +00:00
Ulrich Weigand
4b6b1c3fc8
Suspend window locks before calling hook procedure.
1999-05-17 14:55:30 +00:00
Ulrich Weigand
9c3b18fa38
Fixed window refcount handling in GetNextDlgGroupItem.
1999-05-17 14:54:09 +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
Ulrich Weigand
9d35bb8295
Fixed invalid window refcount handling in RDW_Paint().
1999-05-14 08:10:25 +00:00
Noel Borthwick
c90243b861
Fix a deadlock with the system message queue by ensuring the system message
...
queue is unlocked while the actual message is being processed.
1999-05-14 08:09:13 +00:00
75793af6d1
Added Italian keyboard support.
1999-05-13 18:49:47 +00:00
Andreas Mohr
41d38ee8fb
Fixed quite ill window locking code.
1999-05-13 18:43:40 +00:00
Francis Beaudet
d9a3d70df5
Fixed an infinite loop in ChildWindowFromPointEx.
1999-05-13 18:43:15 +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
Huw D M Davies
a9f55c46c1
Split off wingdi16.h from wingdi.h. Add many more #defines/typedefs
...
to bring wingdi.h almost upto a complete NT4.0 interface.
Fix return value of SetRectRgn().
1999-05-08 12:45:18 +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
e9caf93bbb
Removed TIMER_SwitchQueue.
1999-05-08 10:47:23 +00:00
Ulrich Weigand
e6ea9ebb5e
Check for busy DCE moved to DCHook16().
1999-05-08 09:50:52 +00:00
Ulrich Weigand
ef61c0b632
Initialize WIN_CritSection earlier.
1999-05-08 09:45:50 +00:00
Francis Beaudet
ee3c1d7a27
Changed the return value of GetKeyboardState and SetKeyboardState from
...
VOID to BOOL.
1999-05-08 09:35:37 +00:00
Huw D M Davies
4e700ab90e
Bugfix for TRACE in UnregisterClass.
1999-05-08 09:27:25 +00:00
Francis Beaudet
179e8deb6d
Check if DC is busy before deleting it.
1999-05-04 16:55:22 +00:00
Ulrich Weigand
279d1174fd
Correct implementation of GetWindowThreadProcessId().
1999-05-04 15:57:27 +00:00
Eric Pouech
8c38f45a7e
Fixed some deadlock(s) in message sending.
1999-05-03 09:44:57 +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
Ulrich Weigand
9dcaeca29f
Use SERVICES callback to implement Windows timers.
...
Timer expiration handling removed from EVENT_WaitNetEvent loop.
1999-05-02 11:30:39 +00:00
Noel Borthwick
10619e98e4
Fixed an unbalanced windows lock/unlock sequence in
...
WINPOS_ActivateOtherWindow.
1999-05-02 11:20:00 +00:00
Juergen Schmied
ddb2e291d3
- better stubs for Get/Set special (Progman/Taskman) window functions
1999-05-02 09:19:19 +00:00
Juergen Schmied
13f1b1294d
- new SendMessageCallbackW
...
- some fixme's for missing A<->W conversion
1999-05-02 09:17:48 +00:00
Noel Borthwick
0b027d6c7e
Fixed an unbalanced windows lock/unlock sequence in GetNextDlgTabItem.
1999-05-02 09:16:44 +00:00
Guy Albertelli
20ac20724d
Correct logic in GetKeyNameText.
1999-05-02 09:11:33 +00:00
Andreas Mohr
c21a911c89
Added a missing LeaveCriticalSection.
1999-05-01 10:20:18 +00:00
Francois Boisvert
d753a999b1
Fixed a wrong usage of WIN_FindWndPtr/WIN_ReleaseWndPtr in
...
TranslateMDISysAccel16.
1999-05-01 10:19:35 +00:00
Patrik Stridvall
a9a671d7ca
Fixed ANSI compabillity.
1999-04-25 19:01:52 +00:00
Bertho Stultiens
d1895a776c
Built-in dlls now have resources attached via the PE-header like
...
normal dlls. This enables the use of the resource API.
1999-04-25 18:31:35 +00:00
Patrik Stridvall
c7a8dde118
#pragma pack(?) changed to #include "*pack*.h"
1999-04-25 12:36:53 +00:00
Eric Pouech
62b856338f
Fixed a bug in msg conversion.
1999-04-25 11:00:36 +00:00
Eric Pouech
8dde5a4fe4
Added missing WIN_ReleaseWndPtr.
1999-04-25 10:58:04 +00:00
Peter Bortas
1e24a087ed
Added Swedish keyboard layout.
1999-04-25 10:53:22 +00:00
Noel Borthwick
ee7199549a
Fixed a problem with managed mode, where popup windows with a WS_DLGFRAME
...
style were appearing with a title bar. According to the docs for
WS_DLGFRAME a window with this style cannot have a title bar.
1999-04-25 09:19:21 +00:00
Eric Pouech
96c142b940
Fixed some bogus infinite expiration time.
1999-04-25 09:12:27 +00:00
David Luyer
a4dd6a6af1
- consolidate both cases of !pending in WaitNetEvent
...
- select() returns -1 not 0 on error in WaitNetEvent
1999-04-25 09:11:05 +00:00
Guy Albertelli
2fa281f90f
Fix locking with proper calls to WIN_ReleaseWndPtr.
1999-04-24 11:54:40 +00:00
Patrik Stridvall
0f8bc5b5c7
Fixed ANSI compabillity.
1999-04-22 16:27:50 +00:00