Commit Graph

100 Commits

Author SHA1 Message Date
Dmitry Timoshkov 2dc8067408 Add the tests for behaviour of [In]validateRect and [In]validateRgn
with hwnd set to 0, make them pass under Wine.
2005-10-31 15:45:16 +00:00
Saulius Krasuckas d599020853 Don't pass CreateThread() with a NULL pointer to TID as Win9x does not
create a thread then.
2005-10-28 10:41:48 +00:00
Vitaliy Margolen 1e16caf55d Add test for undocumented 0x4D message sent on F1. 2005-10-27 12:31:04 +00:00
Vitaliy Margolen 453e16d329 Silently ignore WM_PAINT in msg tests. 2005-10-26 10:11:52 +00:00
Vitaliy Margolen 546bc6a681 Fix a number of tests failing on windows. 2005-10-19 19:06:35 +00:00
Frank Richter 7686aa86e6 When doing A->W WM_GETTEXTLENGTH, use WM_GETTEXT behind the scenes to
obtain an exact length.
2005-10-18 10:45:18 +00:00
Vitaliy Margolen 40c3bd6f1b Fix one test failing on all windows versions. 2005-10-17 09:23:11 +00:00
Dmitry Timoshkov 6de4574fb0 Explicitly ignore WM_GETICON message in the message tests. 2005-09-28 18:11:10 +00:00
Dmitry Timoshkov 9c559cf385 Make DrawMenuBar and SetMenu tests pass under Wine. 2005-09-28 15:13:10 +00:00
Alexandre Julliard 127127fd3b Timeout 0 means infinite wait for SendMessageTimeout.
Remove the message from the receiver queue if it times out before
being received.
2005-09-13 14:46:46 +00:00
Dmitry Timoshkov 7647cffbdf Add a test for ShowWindow(SW_SHOWMAXIMIZED) called for a not visible
overlapped window, which shows that WM_SHOWWINDOW is not sent in that
case and that it should activate a window and bring it to top.
2005-09-12 10:09:40 +00:00
Alexandre Julliard e4b2a0bbbc Use Get/SetWindowLongPtr instead of Get/SetWindowLong where
appropriate.
2005-09-09 15:20:04 +00:00
Dmitry Timoshkov ede2c34343 Add a MsgWaitForMultipleObjects test. 2005-07-07 17:20:44 +00:00
Stefan Huehner 863a4b1488 Fix some more -Wstrict-prototypes warnings. 2005-06-21 20:53:13 +00:00
Vitaliy Margolen fb99124f94 Deactivate active window in ShowWindow(,SW_HIDE). 2005-06-17 21:05:16 +00:00
Dmitry Timoshkov ef53e7a2f1 Add a test for window state when a window receives WM_ENABLE message. 2005-06-07 20:29:09 +00:00
Francois Gouget 3b36eee083 Add trailing '\n's to ok() calls. 2005-04-19 09:48:44 +00:00
Rein Klazes 7308f16b32 Fix some incorrect uses of the ok macro where the result depends on
the evaluation order of its arguments.
2005-03-31 19:07:08 +00:00
Dmitry Timoshkov 9640918917 - Make GetSystemMenu respect CS_NOCLOSE.
- EnableMenuItem should not generate WM_WINDOWPOSCHANGING message.
- Make nonclient code check for presence of SC_CLOSE, not CS_NOCLOSE
  window class style.
- Add a test case.
2005-03-30 18:59:27 +00:00
Rein Klazes a4ae750a87 ScrollWindow should call ScrollWindowEx with the SW_ERASE flag
set. With conformance test.
2005-03-29 13:06:32 +00:00
Rein Klazes a807c5efce ScrollDC and X11DRV_SCROLLDC should scroll only pixels coming from
within the visible region, clipped to the clipping region if that
exists. Add the destination of pixels coming from the outside of this
region to the update region. With tests that depend on this.
2005-03-25 17:11:04 +00:00
Dmitry Timoshkov e842676194 If an MDI child becomes active restore previously maximized MDI
child.
2005-03-22 16:45:31 +00:00
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
Dmitry Timoshkov a2e24748b1 Fix some msg.c and win.c failures running on NT4 and XP. 2005-03-14 10:05:50 +00:00
Dmitry Timoshkov 8f0984c2a3 Protect SetParent from creating circular window dependencies.
Add a test case.
2005-03-02 10:11:06 +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
Dmitry Timoshkov 16875ac3b2 - Pass original wParam to CallNextHookEx.
- Avoid playing games with focus in a newly created thread, that leads
  to all kinds of misbehaviours and failures in window activation
  under Windows.
2005-02-23 12:44:06 +00:00
Alexandre Julliard 9b0b45563b Cosmetic fixes. 2005-02-22 16:02:58 +00:00
Stefan Leichter 2d133baa3b Make user32_crosstest.exe loadable on NT 3.51. 2005-02-22 15:43:54 +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
Dmitry Timoshkov 600086372a Take Shift key state into account while processing an accelerator.
Add a couple of test cases.
2005-02-21 18:33:27 +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
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 ed04d36b5d Add more tests for old style hooks and winevent hooks, make them pass
under Wine.
2005-01-27 11:14:19 +00:00
Alexandre Julliard 0b39860580 Added a couple of SetWindowPos tests. 2005-01-25 11:31:52 +00:00
Rein Klazes 3ee5db6e17 Make ShowWindow(...,SW_SHOWNA) also work on already visible windows
with some conformance tests.
2005-01-25 11:21:20 +00:00
Alexandre Julliard 5ae51c47dd Tweak SetWindowPos flags handling to make a few more of the messaging
tests pass.
2005-01-21 17:06:07 +00:00
Dmitry Timoshkov d2512860ac Fix WmCreateCustomDialogSeq message sequence for 256 color mode. 2005-01-11 15:45:32 +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
Dmitry Timoshkov 830b58c02b Add a windows events hook to the message test. 2005-01-06 20:43:34 +00:00
Rein Klazes 3714a39867 Correct cases where arguments of ok() calls depend on the order in
which they are evaluated.
2004-12-27 17:26:37 +00:00
Rein Klazes b681cd1818 - make sure that tests marked as todo_wine and actually succeed under
wine will be counted as failures
- remove todo_wine from a bunch of tests
- log the line numbers of the actual tests, not those of a helper
  function.
2004-12-20 16:59:26 +00:00
Francois Gouget eb3f078c75 Add trailing '\n's to ok() calls. 2004-12-14 11:41:24 +00:00
Alexandre Julliard 4bfeb2840a Added a bunch of tests for various behaviors of RedrawWindow. 2004-12-07 17:34:19 +00:00
Dmitry Timoshkov 12f49fb9b1 ShowWindow activates only a being maximized child window, add a couple
of message tests for MDI child activation.
2004-12-06 16:38:19 +00:00
Mike McCormack 174ae13752 Added some tests for timer functions. 2004-11-29 18:21:14 +00:00
Alexandre Julliard c329cc4f9c Fixed handling of NULL pointer in PeekMessageW, with test (reported by
Eric Frias).
2004-11-23 17:39:13 +00:00
Dmitry Timoshkov 1945e6b7ba Flush pending messages before testing painting message sequences. 2004-10-27 21:18:01 +00:00
Dmitry Timoshkov e898c53f2c Make button return exactly the same dialog codes as Windows does.
Add a test case.
2004-10-26 21:18:10 +00:00