Commit Graph

1517 Commits

Author SHA1 Message Date
Dmitry Timoshkov d9e798074e Protect CallWindowProcA/W from NULL pointers. 2003-08-05 19:17:19 +00:00
Dmitry Timoshkov cb84de9851 Make GetWindowInfo() work for all windows and return correct values. 2003-08-05 18:26:28 +00:00
Alexandre Julliard 039e13118e Implemented inter-thread SendMessageCallback. 2003-07-26 20:36:43 +00:00
Mike McCormack d30469971e Strip WS_CAPTION and WS_SYSMENU for child dialogs. 2003-07-18 23:00:14 +00:00
Alexandre Julliard 07f1198eea Store window procedures in a static array instead of creating a heap.
Only allocate the winproc selector when actually needed.
2003-07-09 22:31:34 +00:00
Alexandre Julliard 04c1f9f88c Only compute dialog base units once we need them. 2003-07-09 19:53:17 +00:00
Ulrich Czekalla b2df5f9f19 - use global atoms for the format ids
- add timeout when calling XCheckTypedWindowEvent
- fix broken IsClipboardFormatAvailable; it tried to do a trick with
  EnumClipboardFormats by making incorrect assumptions
- in X11DRV_IsClipboardFormatAvailable do a quick exit if no one owns
  the selection
- add 1 second *minimum* time lapse between XSelectionOwner calls
- sync clipboard ownership between different wine processes
- prevents apps from getting into wierd state where they thought they
  didn't own the selection but they did and as a result queried
  themselves for available selection data
2003-06-23 23:02:02 +00:00
Aric Stewart 6fcf40197c Simple optimization in EnableWindow. 2003-06-23 20:02:01 +00:00
Dmitry Timoshkov 007196651f Dump RDW_ flags in RedrawWindow. 2003-06-23 19:59:04 +00:00
Huw Davies b367a6e628 We can't use RtlCreateUnicodeStringFromAsciiz for WM_SETTEXT as the
resulting unicode string may be greater than 0xffff bytes.
2003-05-19 23:15:21 +00:00
Dmitry Timoshkov 33cf3e0bfd GetClassInfo returns class atom on success. 2003-05-19 23:10:54 +00:00
Dmitry Timoshkov 040b3e1da5 Restore MDI window in the case of disabled maximize button. 2003-05-19 19:01:56 +00:00
Dmitry Timoshkov cdbe1570df Initialize hbmColor only for color icons in GetIconInfo. 2003-05-19 19:01:31 +00:00
Alexandre Julliard d0af123a41 Catch broadcast window handles in functions that are implemented using
SendMessage.
2003-05-19 19:00:02 +00:00
Mike McCormack 020f8a4c82 Implemented BroadcastSystemMessageW. 2003-05-19 18:56:49 +00:00
Alexandre Julliard 54100873d3 Avoid using the MapHModule functions. 2003-05-16 20:17:52 +00:00
Alexandre Julliard c963e25c0e Get rid of the 32-bit user signal proc since we always run builtin
USER now.  Moved USER module cleanups to the 16-bit signal proc.
2003-05-15 23:11:00 +00:00
Mike McCormack 98e5e7705a Implemented SetMessageExtraInfo. 2003-05-13 23:36:01 +00:00
Dmitry Timoshkov 692c821609 Poll X events in GetInputState the same way as in GetQueueStatus. 2003-05-11 03:29:47 +00:00
Ulrich Czekalla 4d837749d8 We should pass the callers client-area rect and clip rect to x11drv
otherwise we'll fail to scroll all children.
2003-05-11 03:01:42 +00:00
Alexandre Julliard 17c63bbab3 Added A<->W mappings for WM_IME_CHAR. 2003-05-11 02:58:19 +00:00
Dmitry Timoshkov bad473924c Ignore high word of wParam when handling WM_COMMAND in the MessageBox
proc.
2003-05-11 02:44:31 +00:00
Dusan Lacko b922aad01f Fix ALT context bit for WM_KEYDOWN/UP. 2003-05-11 02:43:42 +00:00
Dmitry Timoshkov 5e10df3e12 Windows treats dialog control class ids 0-5 same way as 0x80-0x85. 2003-05-11 02:43:11 +00:00
Maxime Bellengé 711e1ba021 - Fix some indentation.
- Fix the loading of icon resources.
2003-04-29 22:46:16 +00:00
Alex Pasadyn 330179f956 Implemented EnumDisplaySettings* and ChangeDisplaySettings*. 2003-04-22 00:15:48 +00:00
Alexandre Julliard 69ace8ca6c Use the right buffer size in SYSPARAMS_Load instead of some random
value.
2003-03-30 03:09:39 +00:00
Adam Gundy 96c7034619 Initialize lpLogFont->lfQuality to the default. 2003-03-30 01:33:58 +00:00
Alexandre Julliard a65a8a6a8e Moved 16-bit dialog routines to a separate dialog16.c file.
Fixed window creation to create ASCII windows when called through one
of the ASCII dialog functions.
2003-03-28 19:40:37 +00:00
Stephan BEUZE 1d57f4b47d Implemented a default behavior for SPI_GETGRADIENTCAPTIONS flag in
SystemParametersInfoA.
2003-03-26 01:23:38 +00:00
Jon Griffiths cd4234aa49 Documentation updates. 2003-03-18 18:35:48 +00:00
Tony Lambregts 7ce3a5ad63 Replace DPRINTF with TRACE. 2003-03-14 04:11:17 +00:00
Alexandre Julliard 7e92c9af7b Replaced most uses of the auto-generated glue code by explicit calls
to WOWCallback16Ex.
2003-02-27 21:09:45 +00:00
Eric Pouech 12b7c26e0d Only print 4 hexdigits for tid. 2003-02-26 04:36:54 +00:00
Andreas Mohr 034000b68d Convert Twips values from the registry. 2003-02-19 22:04:46 +00:00
Alexandre Julliard ac13d2f47e Print thread ids in traces with only 4 digits now that they are small
integers.
2003-02-18 23:29:47 +00:00
Duane Clark 5d35bc7428 Correctly encode wParam for WM_SYSCOMMAND,SC_SIZE messages. 2003-02-18 23:24:57 +00:00
Alexandre Julliard 43690e9e47 Removed no longer needed inclusion of heap.h. 2003-01-24 00:54:58 +00:00
Matthew Davison 60009b9a56 Removed calls to HEAP_strdupAtoW. 2003-01-23 23:07:38 +00:00
Alexandre Julliard e5fb975a6e Added dead keys support using X input methods (based on a patch by
Dmitry Timoshkov).
2003-01-23 01:29:58 +00:00
Francois Gouget 389df3db5c Extend the code to set both the Win9x and the NT registry keys. Only
the NT keys are authoritative (i.e. we set the Win9x keys but don't
re-read them).
2003-01-20 23:25:14 +00:00
Alberto Massari bf9390e7d2 Handle the WS_EX_LEFTSCROLLBAR style (that is, draw the vertical
scrollbar on the left side of the control).
2003-01-14 23:41:01 +00:00
Duane Clark 36d84c04f7 Check for pending X events before getting queue status. 2003-01-14 19:32:42 +00:00
Dmitry Timoshkov 5261df0306 Post correct notification code on WM_CLOSE for dialogs. 2003-01-14 19:29:15 +00:00
Francois Gouget 6fed1e3738 Update the registry keys of SPI_ICONHORIZONTALSPACING,
SPI_ICONVERTICALSPACING and SPI_SETICONTITLEWRAP to match XP.
The SPI_SETBORDER test leaves an incorect border setting and is just
too erratic: comment it out for now.
Modified the SPI_ICONHORIZONTALSPACING, SPI_ICONVERTICALSPACING and
SPI_SETWORKAREA to not cause the icons to be reorganized.
Don't test out-of-bound values for SPI_SETKEYBOARDSPEED as behavior
differs accross Windows platforms.
On Win9x the maximum value for SPI_SETSCREENSAVETIMEOUT is 32767.
The registry keys and values stored in them for
SPI_ICONHORIZONTALSPACING and SPI_ICONVERTICALSPACING depend on the
Windows platform: ignore them.
No Windows platform seems to SPI_SETFASTTASKSWITCH: no longer test it.
The lParam of WM_SETTINGCHANGE is quite useless (even the MSDN says
so!) and varies accross Windows platforms. Ignore it.
Always check the SystemParametersInfoA return code as it fails in very
strange ways on some platforms. Skip unsupported settings.
Skip Unicode tests on platforms that don't support it.
2003-01-13 20:40:22 +00:00
Robert Shearman 72e64900c2 SPI_GETMINIMIZEDMETRICS implemented. 2003-01-13 18:29:03 +00:00
Alexandre Julliard 04d5963871 Print the message name for registered messages. 2003-01-11 21:07:50 +00:00
Dan Kegel 0fd521fee3 Change RECT to use LONG to match win32 standard headers and fix format
strings to use %ld for RECT elements.
2003-01-08 21:09:25 +00:00
Alexandre Julliard 8ba666f3a7 Store the keyboard state in the thread input structure on the server
side.
2003-01-08 19:56:31 +00:00
Duane Clark 632d0c2df0 WS_CAPTION is a two bit field, so test appropriately. 2003-01-08 19:53:47 +00:00