Commit Graph

355 Commits

Author SHA1 Message Date
Pavel Roskin a0fd289aef Prevent X11 errors when XCreateWindow is called with zero width or
height.
1999-03-14 13:41:07 +00:00
Marcus Meissner 88e651dac3 Fixed newly introduced and some leftover warnings. 1999-03-13 18:20:26 +00:00
Guy Albertelli 4a6af35bc4 Handle null wndPtr for mdi window. 1999-03-13 17:03:41 +00:00
Juergen Schmied d3258fc75e Message translation for WM_WININICHANGE. 1999-03-12 17:13:54 +00:00
Pavel Roskin d8e58eb40d obm_closed_95 should not be drawn inverted. 1999-03-12 17:09:43 +00:00
Stephane Lussier 0d5fe58361 Create a new DC in GetDCEx when none are available. 1999-03-12 17:04:28 +00:00
Stephane Lussier bae5552a14 Implemented SendMessageTimeout() functions. 1999-03-10 16:21:12 +00:00
Ulrich Weigand 1b938b1817 Adapted to cursor/icon handling changes. 1999-03-10 14:03:06 +00:00
Ulrich Weigand 175989dbd4 Bugfix: ToAscii should not generate ASCII code when key-up flag is set. 1999-03-10 13:28:30 +00:00
Ulrich Weigand 9cfeb5b88c Avoid unnecessary GraphicsExpose events. 1999-03-10 13:26:09 +00:00
Ulrich Weigand c08b9c5b90 Bugfix: DirectedYield() only to 16-bit tasks in ReplyMessage(). 1999-03-09 17:38:26 +00:00
Marcus Meissner de43ef45ec Fixed a lot of warnings using WINE_UNUSED, casts, commenting out and
additional {}. Rewrote GetCreationModeFromSTGM so we don't get
"possible use of uninitialized variable".
1999-02-28 19:56:59 +00:00
Marcus Meissner 064f170f76 More include optimisations and fixes. 1999-02-28 19:14:33 +00:00
David Luyer ee517e863e - fixed missing stdlib.h and string.h includes everywhere
- removed a couple of unneeded stdlib.h and stdio.h includes
1999-02-28 12:27:56 +00:00
Alexandre Julliard 8feb3bc177 Process and thread id now use the server-side id instead of an
obfuscated pointer.
1999-02-28 12:25:03 +00:00
Guy Albertelli 38d9ce811d - Code to return default language code as keyboard layout.
- Implemented other stubs associated with keyboard layout:
  GetKeyboardLayoutNameA, ActivateKeyboardLayout,
  LoadKeyboardLayout[AW], GetKeyboardLayoutList.
1999-02-28 11:13:16 +00:00
Juergen Schmied 1e0bc841f3 FIND_WndPtr should not set ERROR_INVALID_WINDOW_HANDLE when hWnd=0. 1999-02-28 11:08:13 +00:00
Francis Beaudet bfaf063892 Order of send message processing was not respected and the message
stacked last finished after the message stacked first.
1999-02-28 10:02:57 +00:00
Francis Beaudet dae09c99a2 Added checks to guard against NULL active window. 1999-02-28 10:01:44 +00:00
Norman Stevens 460881ce82 Don't check children of disabled or invisible controls for dialog
keyboard accelerators. Fixes problems with dialogs with tab boxes.
1999-02-28 09:59:32 +00:00
Alexandre Julliard a396029270 Large-scale renaming of all Win32 functions and types to use the
standard Windows names.
1999-02-26 11:11:13 +00:00
Alexandre Julliard 566e8547f3 Make GetWindowLong(GWL_HWNDPARENT) return the same thing as
GetParent32; suggested by Dave Pickles <davep@nugate.demon.co.uk>.
1999-02-25 18:05:48 +00:00
Francois Boisvert 93e3f905c8 Adding of new functions to make the wnd struct thread safe. Adding of
irefCount in wnd struct.
1999-02-25 17:32:31 +00:00
Pascal Lessard 83f39cf776 ScrollDC32 modified to return rect in logical coordinate. 1999-02-25 16:35:22 +00:00
Marcus Meissner 219cfd8387 Optimized away more includes, readded some #includes for necessary
prototypes.
1999-02-24 13:05:13 +00:00
Lionel Ulmer 75e8a78efa Added stubs for two missing methods of DInput. 1999-02-24 10:53:30 +00:00
Stephane Lussier 110cdb1cd8 Fixed some SendMessage bugs. 1999-02-24 09:43:09 +00:00
Marcus Meissner 61afa33b03 Some more recursive include fixes/optimizations. 1999-02-22 10:16:00 +00:00
Francois Gouget b233fc310a Updated to use the latest COM macros, ICOM_VTABLE and ICOM_THIS.
Added the interface implementation structures.
I remembered from an email that even when asked for a
IDirectInputDeviceA what was returned was an IDirectInputDevice2A so I
considered that we would only implement the latter. The
IDirectInputDeviceA_xxx methods have been renamed to
IDirectInputDevice2A_xxx, and we always return our IDirectInputDevice2A
implementation as before.
Renamed the implementation structures to XxxImpl.
1999-02-22 09:52:54 +00:00
Michael Veksler 3fbb8dc829 - Fix headers to include less or smaller header files.
- Fix header and source files to include missing header files to avoid
  warnings and errors.
1999-02-21 18:23:26 +00:00
Stephane Lussier b50272bd75 Fix problem where you need mouse activity to unlock some 16 bits
thread with multi-threaded apps.
1999-02-21 18:15:26 +00:00
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