Commit Graph

324 Commits

Author SHA1 Message Date
Martin Walker 4d1d359c2b Fixed message filtering check. 1999-02-19 16:50:24 +00:00
Alexandre Julliard f0a0e126f3 Reverted broken close button change. 1999-02-19 16:02:32 +00:00
Francis Beaudet 6a6f6e247c Temporary fix suggested by Ulrich to allow the
MsgWaitForMultipleObject method to be called from 16 bit threads.
1999-02-19 15:34:40 +00:00
Ove Kaaven 105afce7a5 Initialized return value of 16->32 conversion of WM_MDIGETACTIVE in
case it's sent to a window that doesn't handle it (i.e. not MDI
client).
1999-02-19 15:33:59 +00:00
Ove Kaaven 077c2732b8 Added extra child arguments to DCE_GetVisRgn() to be able to handle
PARENTDC class style combined with CLIPCHILDREN window style, to
prevent mis-redraws in Free Agent 16-bit.
1999-02-19 15:27:58 +00:00
Stephane Lussier 2c86dab53a - New implementation of SendMessage, ReceiveMessage, ReplyMessage functions
to support thread-safeness, and nested SendMessage.
- Addition of ReplyMessage32.
1999-02-18 17:34:09 +00:00
Ulrich Weigand 4aaf65e6b4 Bugfix: Cope with NULL pDriverData in X11DRV_WND_GetXWindow. 1999-02-18 17:30:40 +00:00
Francois Boisvert 308c6afe62 Implementation of the pushed close button. 1999-02-18 10:37:17 +00:00
Marcus Meissner 317af320cf Optimized include/*.h: (recursively) include all headers needed by
this .h file, but only those. Necessary fixes to a lot of .c files,
started optimizing "windows.h" away from some of them. Moved
GetCurrentTask prototype to wine/winbase16.h.
1999-02-17 13:51:06 +00:00
Dave Pickles 34a4b91e78 GetUpdateRect should return client coordinates unless the window was
created with the CS_OWNDC style and the mapping mode is not MM_TEXT,
in which case the result should be in logical coordinates.
1999-02-17 12:36:26 +00:00
Ove Kaaven 6ec132b61a Resetting X focus should not be done with SetFocus32. Called
the windowing (X11) driver's SetFocus routine directly instead.
This apparently fixes a big heap of user interface problems.
1999-02-15 12:46:32 +00:00
Eric Pouech b9544f159d Changed some functions prototypes (were returning void). 1999-02-14 14:09:42 +00:00
Jerome Vouillon 1da6dbab67 Make a correct use of clipping rectangles. 1999-02-14 13:32:13 +00:00
Ove Kaaven 8cef89652d Since SetParent now hides/shows, explicitly invalidating DCs in the
parent change operation should no longer be necessary.
1999-02-14 11:23:01 +00:00
Gerard Patel 902f9c65a5 Fix if EndDialog called in WM_INITDIALOG (DIALOG_DoDialogBox). 1999-02-14 11:22:03 +00:00
Joseph Pranevich ebc0e5e0a4 Moved initialization until later. Also moved around code a bit to be
consistant.
1999-02-14 11:15:47 +00:00
Huw D M Davies bc1d1df097 WIN31 Look still needs a close button on the left of the menu bar. 1999-02-14 09:20:01 +00:00
Francois Boisvert ae806896cb Changed SetWindowPos32 to force the update of the non-client area. 1999-02-14 09:18:15 +00:00
Marcus Meissner 65e1f75f58 Some warnings fixed, one useless VERSION warning removed (winelib). 1999-02-13 17:38:16 +00:00
Stephane Lussier 7798307bdf Use global synchronization objects, to be able to use it in different
processes (not only the process which create the synchro object).
1999-02-13 12:24:04 +00:00
Norman Stevens ce14194050 Set hwndActiveChild when maximizing a mdi child window because it is
not set when maximizing a window other than the active child.
1999-02-13 12:22:48 +00:00
Francois Boisvert 197a8e163e Implemented the WIN31 Look mdi buttons and also some defines for the
magic menu items.
1999-02-13 09:10:17 +00:00
Ove Kaaven 72d8dbe38a Changed SetParent32 to adhere to Windows behaviour (mostly),
which should also keep it from leaving garbage around.
1999-02-13 09:02:17 +00:00
Ove Kaaven a4e29e5b1d Don't call EVENT_DummyMotionNotify for hidden windows. 1999-02-13 08:55:28 +00:00
Stephane Lussier 1242311e67 Fix some thread-safeness problem when accessing the system message
queue.
1999-02-13 08:54:21 +00:00
Marcus Meissner 592c910b7c Implemented MapVirtualKeyEx (ticket 21).
Ignore keyboard layout for now.
1999-02-13 08:53:22 +00:00
Juergen Schmied 1ed51af346 Small fixes to compile with the headers (mostly nt-security). 1999-02-12 17:47:07 +00:00
Ulrich Weigand c95df10ed6 Use MONITOR_... instead of DESKTOP_... routines to get screen
dimensions; these work also with native USER.
1999-02-12 12:46:49 +00:00
Ove Kaaven 1fd63057ad WM_ACTIVATE default processing should set window focus.
Should fix focus problems in non-managed mode.
1999-02-12 12:44:53 +00:00
Juergen Schmied 0aa7fdbd30 FindWindow failed for 32 bit windows with style != WS_CHILD. 1999-02-11 10:19:10 +00:00
Michael Veksler f935c59787 Added missing includes to avoid warnings/errors. 1999-02-09 15:49:39 +00:00
Stephane Lussier b3a99de50d -Fixed MESSAGE functions that were thunking down to 16 bits implementation.
So PeekMessage32, GetMessage32, PostMessage32, PostThreadMessage are fixed
with this patch. Unicode version of those functions is currently only
calling the ASCII version.
-Fixed queue signaling using a new EVENT object in the queue for 32 bits
thread. MsgWaitForMultipleObject has been fixed and is now blocking on the
right EVENT.
1999-02-09 15:35:12 +00:00
Marcus Meissner 69c0bbea1a Some small bugfixes, added more PE relocation types (for WinCE mostly),
some console prototypes, -dll is useful for winelib too, regtest
compile fixed.
1999-02-09 14:25:57 +00:00
Lionel Ulmer 629b9fa4a3 Added buffered device access for DInput's mouse driver. 1999-02-09 14:18:21 +00:00
Francois Boisvert 47e2b852c3 The systems buttons (minimize/restore/close) now appear on the menu
bar of mdi application.
1999-02-09 14:11:19 +00:00
Stephane Lussier 91bb1f974c - Cleaned up the message queue when a thread exit (but not the process).
- Modified QUEUE_DeleteMsgQueue to exit gracefully (without crashing Wine) if
  queue link list is corrupted.
1999-02-09 14:07:07 +00:00
Noel Borthwick b427856b45 Added management and allocation of the PERQUEUEDATA structure. 1999-02-05 10:37:53 +00:00
Patrik Stridvall 8d8703cb48 Moved some more code to the X11 driver. 1999-02-04 14:05:38 +00:00
Patrik Stridvall c6e6a9aff9 TTY driver changes. 1999-02-04 13:14:42 +00:00
Patrik Stridvall ab121e7838 X11 driver changes. 1999-02-04 11:11:01 +00:00
Patrik Stridvall e8c89484e8 Implementation of the new monitor abstraction. 1999-02-04 10:12:55 +00:00
Alexandre Julliard cb8ef7d2bb Dialog window should not be destroyed in DefDlgProc; this break
modeless dialogs.
1999-01-31 15:02:23 +00:00
NF Stevens e00bb9d3f7 Create X window for child windows reparented to be top level windows. 1999-01-31 10:01:41 +00:00
Juergen Schmied 535f32ffd5 Stub for GetUserObjectSecurity. 1999-01-31 09:20:36 +00:00
Juergen Schmied afd5580fcb Every EM_GETLINE send between a 32W to a 32A window returned
incomplete values before (the first 2 chars where cut away).
1999-01-31 09:18:58 +00:00
Huw D M Davies 1b450209ec Fix typo in SetWindowPos32. 1999-01-31 09:17:38 +00:00
Bernd Herd ec721121e0 SetParent should link the window at the start of the list. 1999-01-30 15:50:58 +00:00
NF Stevens 114899a9de In Window SetWindowPos with SWP_HIDEWINDOW does not remove
the focus from the focus window; ShowWindow with SW_HIDE does.
So move the code that does this from SetWindowPos to ShowWindow.
1999-01-30 15:49:51 +00:00
Francis Beaudet 84ee125fd9 Make sure that the keystate received by the WM_XBUTTONUP and
WM_XBUTTONDOWN matches the message. In X, the keystate is changed
after the message is processed.  In Windows, it is changed before.
1999-01-30 12:59:09 +00:00
Stephane Lussier 1c4786fedf - Made the message queue access to be thread safe. (Using two new
functions to access the message queue, QUEUE_Lock(), QUEUE_Unlock()
  instead of GlobalLock16()).
- Fixed QUEUE_DumpQueue (used by "info queue <handle>" with the
  wine-debugger).
1999-01-28 10:54:11 +00:00