Commit Graph

1760 Commits

Author SHA1 Message Date
Dmitry Timoshkov 72a4df9459 Do not release capture before sending WM_NCDESTROY message, update the
tests to reflect that.
2005-03-14 17:15:33 +00:00
Marcus Meissner af54602c7a Use 512 byte buffer for buffer of LB_GETTEXT and CB_GETLBTEXT.
Added testcase with > 256 byte string in listbox.
2005-03-10 17:17:22 +00:00
Alexandre Julliard 85c81bf419 Merge the rest of the messaging code into dlls/user/message.c and get
rid of windows/message.c.
2005-03-10 15:47:53 +00:00
Alexandre Julliard 5f033b88d4 Take message filtering into account when updating the static data for
double click support.
2005-03-10 11:25:58 +00:00
Alexandre Julliard aef19abc82 Moved SendInput and related functions to the USER driver to avoid a
number of dll separation hacks.
2005-03-09 16:45:23 +00:00
Alexandre Julliard 6bd194d2fd Remove a trace that's causing too much output. 2005-03-09 16:42:28 +00:00
Krzysztof Foltman 4affd0185f WM_CANCELMODE resets menu flag in the default window procedure. 2005-03-09 12:40:38 +00:00
Alexandre Julliard b58c170c4d Make the SwapMouseButton function and the SPI_SETMOUSEBUTTONSWAP
parameter work on the same flag.
2005-03-09 11:51:31 +00:00
Robert Shearman 92edcb7417 Add message spy support for RichEdit20W control. 2005-03-09 11:43:42 +00:00
Alexandre Julliard 7b738b7f8c Make sure to always pass valid QS_* flags to
MsgWaitForMultipleObjects.
2005-03-08 17:00:38 +00:00
Alexandre Julliard 97d6e7fd3d Moved TranslateMessage and DispatchMessage to dlls/user/message.c.
Added support for posting internal messages.
Added support for driver-specific internal messages.
2005-03-07 17:19:24 +00:00
Dmitry Timoshkov 16ba0255e7 - Call SetCursorPos for an injected mouse message only if we really
need to move mouse pointer.
- Add a test case for mouse click handling.
2005-03-07 17:13:07 +00:00
Dmitry Timoshkov 08b250e74e Call ReleaseDC() with correct window handle. 2005-03-07 10:58:21 +00:00
Robert Shearman 55fe5e8102 WM_USER messages should be dumped in the format "WM_USER + %d" to make
it easier to see what message it is for unknown classes.
2005-03-05 10:50:44 +00:00
Dmitry Timoshkov 2122277284 Ask for an MDI child id in all cases. 2005-03-02 12:17:17 +00:00
Alexandre Julliard 7caa1f6b4d Beginnings of inter-process GetDC support.
Use a standard list for the DCE list.
Small cleanups.
2005-03-02 10:24:38 +00:00
Dmitry Timoshkov 8f0984c2a3 Protect SetParent from creating circular window dependencies.
Add a test case.
2005-03-02 10:11:06 +00:00
Jason Edmeades aeb3e1d2d4 Make LR_LOADTRANSPARENT work and give transparent images. 2005-02-26 17:40:55 +00:00
Jon Griffiths eb5bf7dd38 Documentation spelling fixes. 2005-02-25 14:07:56 +00:00
Alexandre Julliard 1aad2a50ce Authors: Mike McCormack <mike@codeweavers.com>, Dmitry Timoshkov <dmitry@codeweavers.com>
Release capture before sending WM_NCDESTROY message, do not send
WM_CAPTURECHANGED in that case. Add a test case for that behaviour.
2005-02-24 17:03:51 +00:00
Rein Klazes dfa4354134 DefWindowProc's WM_NCCALC handler must not subtract space for
scrollbars if there is not enough space for it anyway. With tests to
confirm the behavior.
2005-02-22 15:46:36 +00:00
Alexandre Julliard fa5c982698 DispatchMessage needs to repaint the non-client area if the WM_PAINT
handler didn't do it.
2005-02-22 14:58:52 +00:00
Jason Edmeades e4c2d6ba8c Make RegisterClassExA check that reserved bytes is a valid value.
Tests to confirm this behaviour.
2005-02-22 14:56:28 +00:00
Dmitry Timoshkov 53ccd49c58 - Always unlink children before sending WM_NCDESTROY message.
- Fix order of WM_DESTROY messages for the children's recursion.
- DestroyWindow should hide only visible windows.
- Add a test case for the above fixes.
2005-02-18 20:01:41 +00:00
Dmitry Timoshkov 39f960bdfa - Fix prototypes of GetClassLongA/W, GetClassLongPtrA/W and
SetClassLongA/W according to SDK definitions.
- Add prototypes for SetClassLongPtrA/W, protect some GWL_ and GCL_
  constants from using in Wine or in _WIN64 mode.
- Fix all places in Wine affected by the above changes.
2005-02-15 21:51:06 +00:00
Marcus Meissner a34c23498f Check for overflows with ClrUsed. 2005-02-14 11:08:22 +00:00
Rein Klazes 312f09b88a ScrollWindowEx when called with the SW_ERASE flag does not send a
WM_ERASEBKGND message, it just sets the erase flag. With some tests
that show this behavior.
2005-02-08 14:27:39 +00:00
Dmitry Timoshkov 6dba0a7718 Add support for winevent hooks. 2005-02-03 16:40:20 +00:00
Dmitry Timoshkov 032d6aa234 Use the idFirstChild specified in the MDIClient's CLIENTCREATESTRUCT
when creating MDI children. Add a test case for the desired
behaviour.
2005-02-02 09:33:58 +00:00
Alexandre Julliard e204874728 Removed the no longer used WIN_SetExStyle function. 2005-02-01 18:54:51 +00:00
Alexandre Julliard d7726c3a73 Store the "managed" flag as a window property instead of the
Wine-specific WS_EX_MANAGED style bit.
2005-02-01 18:53:59 +00:00
Alexandre Julliard 932a65dddc WIN_ListParents no longer needs to be exported, make it static. 2005-01-31 16:46:47 +00:00
Dimitrie O. Paun 026b786ee9 Replace a DPRINTF with TRACE. 2005-01-31 11:30:39 +00:00
Alexandre Julliard e4e5566edb Avoid a few more uses of WIN_FindWndPtr. 2005-01-27 10:47:28 +00:00
Alexandre Julliard d7ba12c77a Max tracking size in WM_GETMINMAXINFO should take into account the
window frame.
2005-01-21 17:03:41 +00:00
Alexandre Julliard f936428601 Make WIN_SetStyle more thread-safe by specifying the bits to change
instead of the new value.
2005-01-21 10:32:13 +00:00
Alexandre Julliard 6382ffae2a Replace a number of calls to WIN_FindWndPtr by WIN_GetPtr. 2005-01-20 20:07:42 +00:00
Ulrich Czekalla 03ffadc499 Handle case when only height is set to CW_USEDEFAULT. 2005-01-19 20:54:25 +00:00
Vitaly Lipatov 9773414d62 Add FIXME for file with broken counters. 2005-01-19 19:09:38 +00:00
Alexandre Julliard 932338890f Removed no longer used WIN_InternalShowOwnedPopups function. 2005-01-19 17:03:57 +00:00
Alexandre Julliard b4a64382ee Moved DefWindowProc16 to msg16.c and cleaned up a few related things. 2005-01-18 11:45:17 +00:00
Alexandre Julliard 6758db9a0c Get rid of nonclient.h and of the corresponding exported functions in
user32.spec.
2005-01-17 20:27:11 +00:00
Alexandre Julliard fc5ce14592 Avoid most references to the internals of the WND structure by passing
around an x11drv_win_data pointer instead.
2005-01-17 19:17:47 +00:00
Alexandre Julliard 149b6e38c9 Small optimization in WINPOS_GetWinOffset. 2005-01-17 13:50:00 +00:00
Dmitry Timoshkov 8af3e67e29 Add WM_GETOBJECT definition, remove WM_OTHERWINDOWCREATED define. 2005-01-14 15:14:41 +00:00
Alexandre Julliard d7b4d60cd7 Use the exported functions SaveDC/RestoreDC instead of SetDCState16. 2005-01-12 19:57:08 +00:00
Jacek Caban 7e2a7c949d Get rid of W->A calls. 2005-01-11 15:10:56 +00:00
Dmitry Timoshkov b44b2cc880 Add more tests for keyboard/menu activation behaviour, make the tests
pass under Wine.
2005-01-11 10:38:31 +00:00
Jacek Caban bf3cf83e02 Get rid of HEAP_strdupWtoA calls. 2005-01-09 17:41:45 +00:00
Huw Davies 2e51a04a8d Don't touch the rect if hwnd is invalid. 2005-01-04 20:33:22 +00:00