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
Alexandre Julliard
d3c0cb77d9
VK_0-9 and VK_A-Z are not defined in the Windows headers, removed them
...
(spotted by Francois Gouget).
2004-10-22 20:29:10 +00:00
Dmitry Timoshkov
c3cecc5d57
- WM_MDISETMENU handler should update new frame menu only if an active
...
and maximized MDI child is visible.
- Add a test case for MDI child activation sequence.
2004-10-11 19:55:28 +00:00
Dmitry Timoshkov
132470a2b1
Properly handle the case when last MDI child is being destroyed.
2004-10-08 23:36:18 +00:00
Dmitry Timoshkov
0c48fbc624
Skip interthread message test under win9x, it causes a crash there.
2004-10-06 18:51:27 +00:00
Dmitry Timoshkov
b0c45123e5
Add a test case for accelerators, make the test pass on Wine.
2004-10-05 23:45:35 +00:00
Dmitry Timoshkov
7c7693f8d0
Added a test case for inter-thread DispatchMessage.
2004-10-05 22:35:00 +00:00
Dmitry Timoshkov
01a88ff01e
If there no MDI child to activate set hwndActiveChild to 0 in
...
WM_MDIDESTROY hander, add a test case.
2004-10-05 02:10:04 +00:00
Dmitry Timoshkov
11d550dfa8
Add more message conversion tests, make the tests pass under Wine.
2004-10-04 20:39:00 +00:00
Robert Shearman
85a707e378
Add tests for conversion of message parameters.
2004-10-04 19:10:37 +00:00
Hans Leidekker
719a789792
Fix signed/unsigned comparison warnings.
2004-09-22 02:46:38 +00:00
Dmitry Timoshkov
a1ccb921bd
Make message flow for MDI creation/activation/destruction more like in
...
Windows. Add a bunch of MDI message tests.
2004-09-21 00:24:22 +00:00
Alexandre Julliard
9f53add86c
Stop testing a sequence upon the first expected error, to avoid
...
spurious errors later on.
2004-09-14 00:46:03 +00:00
Dmitry Timoshkov
914231e87b
Add support for HCBT_SYSCOMMAND hook, add logging for HCBT_SYSCOMMAND
...
in the message test.
2004-09-13 19:32:59 +00:00
Dmitry Timoshkov
18651f778e
Add a bunch of new MDI tests.
2004-09-13 19:16:31 +00:00
Dmitry Timoshkov
d304e4f80d
Log flags for WM_WINDOWPOSCHANGING/WM_WINDOWPOSCHANGED messages, make
...
the tests pass on Win95/Win98/Win2000, fix some test failures under
Wine.
2004-09-13 18:03:09 +00:00
Alexandre Julliard
371662faca
Fixed some message sequences to succeed on XP.
...
Added some tests for showing/hiding a child window with an invisible
parent.
2004-09-08 22:02:23 +00:00
Alexandre Julliard
28a8cacaf5
GetUpdateRect should return TRUE even if only the non-client area is
...
invalid (reported by Rein Klazes).
2004-09-02 20:13:19 +00:00
Dmitry Timoshkov
93dd39a37c
Button should send BM_SETSTATE message after it has changed its
...
internal state.
2004-08-26 18:31:56 +00:00
Dmitry Timoshkov
58e93d5e14
Fix msg test failures when run under win2k.
2004-08-26 18:21:56 +00:00
Alexandre Julliard
009ae91f34
Added some tests for paint messages and update regions.
2004-08-26 00:49:06 +00:00
Alexandre Julliard
f466c651ae
Allow enabling or disabling todo_wine for each message sequence so
...
that we can properly test the sequences that are already correct.
2004-08-25 17:35:06 +00:00
Francois Gouget
9806c99033
Define _WIN32_WINNT otherwise we are missing some definitions with the
...
Windows headers.
2004-08-11 18:50:40 +00:00
Dmitry Timoshkov
d134ca1ea8
Fix button behaviour on WM_SETFOCUS/WM_KILLFOCUS with a test case.
2004-08-09 23:38:40 +00:00
Dmitry Timoshkov
a98beddcce
Add a test case for scroll APIs, fix a few bugs spotted by it.
2004-07-09 19:25:26 +00:00
Dmitry Timoshkov
81fa85cdb8
Add more MDI message tests.
2004-06-30 18:16:08 +00:00
Dmitry Timoshkov
fdc295db0b
Add a prototype for MDI message tests.
2004-06-23 20:51:21 +00:00
Dmitry Timoshkov
cbbb887d35
Add tests for child activation by ShowWindow/SetWindowPos.
2004-06-18 19:33:55 +00:00
Mike Hearn
eff34efcf8
Ignore attempts to hide an already invisible window. Add a test case
...
for this behaviour, passes on Wine and Windows 2000.
2004-06-03 23:26:35 +00:00
Ulrich Czekalla
e32e1f0598
EnableWindow should not remove the focus of child windows.
2004-06-03 00:08:55 +00:00
Dmitry Timoshkov
5079a41ed8
Add dialog class name to the list of classes handled by hook, add hook
...
messages to the modal dialog message test.
2004-06-01 19:39:26 +00:00
Dmitry Timoshkov
97ea6fffde
Add message test for DrawMenuBar.
2004-05-24 19:08:54 +00:00
Dmitry Timoshkov
d8e990c1e4
- Make new tests pass on win2k SP4 and win95 OSR2.
...
- Add logging of some useful messages in the parent window.
- Add logging of wparam for WM_IME_SETCONTEXT.
2004-05-20 01:17:28 +00:00
Alexandre Julliard
47a1df45b2
Added some optional messages to make all tests succeed on XP.
...
Added tests for EndDialog and a simple modal dialog.
2004-05-18 20:44:23 +00:00
Dmitry Timoshkov
683ea2f2b7
Add more ShowWindow/SetWindowPos tests.
2004-05-10 19:59:20 +00:00
Alexandre Julliard
900492a69c
A couple of changes to avoid some failures on XP.
2004-05-05 22:01:49 +00:00
Francois Gouget
bc8007fb1a
Add trailing '\n's to ok() calls.
2004-05-05 01:35:37 +00:00
Dmitry Timoshkov
c5524e1e6b
Replace wParam values for WM_PARENTNOTIFY message by appropriate
...
symbolic names.
2004-04-30 04:15:13 +00:00
Dmitry Timoshkov
9634233407
Add a test for creation of a maximized child window.
2004-04-29 20:00:40 +00:00
Dmitry Timoshkov
f04b9d0b07
Add a message test for custom dialog initialization.
2004-04-20 04:02:50 +00:00
Dmitry Timoshkov
7104df5d0d
Add WM_QUERYNEWPALETTE in appropriate places of the message test.
2004-04-12 23:13:14 +00:00
Dmitry Timoshkov
b53f87865c
Add WM_SETREDRAW test.
2004-04-08 19:07:06 +00:00
Dmitry Timoshkov
a6b405d6f4
Make use of the 'defwinproc' flag in the message test.
2004-04-06 20:09:59 +00:00
Dmitry Timoshkov
2d91357831
Add new tests for various window creation/positioning behaviours.
2004-04-02 20:22:53 +00:00
Dmitry Timoshkov
c7d9f75eeb
Workaround a msvcrt.realloc bug under Win9x by using Win32 APIs instead.
...
Take into account that HeapRealloc may move the allocated memory block.
2004-03-27 20:41:43 +00:00
Dmitry Timoshkov
f38a07b205
Add a procedure for logging WM_PARENTNOTIFY messages.
2004-03-26 02:28:28 +00:00
Dmitry Timoshkov
d5a1e761ee
Make DestroyWindow() not mess with a window focus, this should be
...
taken care of by ShowWindow(SW_HIDE).
Add a test for DestroyWindow() on a focused child.
2004-03-26 01:06:15 +00:00
Dmitry Timoshkov
6a203fb885
Add 'hook' flag for messages. Add a test for CBT hook messages.
2004-03-26 00:18:20 +00:00
Dmitry Timoshkov
bb1df89a2f
Add 'optional' flag for messages, make the test run under win2k.
2004-03-25 23:35:52 +00:00
Huw Davies
14743a0f3b
SetMenu should always call SetWindowPos whether the window is visible
...
or not. However we shouldn't call SWP from CreateWindowEx.
Added a test for this behaviour.
2004-02-17 20:29:05 +00:00
Dimitrie O. Paun
9eedca2b05
Move the message sequences documented in documentation/gui into a unit
...
test.
2003-10-02 04:32:56 +00:00