Vitaliy Margolen
9380eb3127
user32: Add test for SetForegroundWindow(desktop).
2007-07-23 11:49:46 +02:00
Mikołaj Zalewski
46a48c40ad
user32/tests: Simplify a test.
2007-07-20 11:40:44 +02:00
Michael Stefaniuc
02933a11de
dlls: Remove unreachable break after return/break. Found by Smatch.
2007-07-19 11:57:49 +02:00
Vitaliy Margolen
9c9174efac
user32/test: Destroy no longer needed test dialog windows.
2007-07-19 11:53:58 +02:00
Alexandre Julliard
4688389d74
user32: Allocate a dual A/W winproc for DefWindowProc.
2007-07-12 15:45:19 +02:00
Alexandre Julliard
ec5e295ef2
user32/tests: Flush messages more aggressively in a couple of tests.
2007-07-11 14:40:19 +02:00
Paul Vriens
24123e8603
user32/tests: Use skip.
2007-07-03 20:39:32 +02:00
Paul Vriens
918a2911bf
user32/tests: Use skip.
2007-07-03 20:39:31 +02:00
Michael Stefaniuc
0152ec0375
janitorial: Remove superfluous casts of void pointers to other pointer types.
2007-06-27 12:53:50 +02:00
Paul Vriens
027afb495a
user32/tests: Only do the GetProcAddress once.
2007-06-21 15:37:49 +02:00
Dmitry Timoshkov
4d8f84cbdd
user32: When inserting a menu item make sure that MDI system buttons stay on the right side.
2007-06-20 15:10:58 +02:00
Alexandre Julliard
bd8a4e3aae
user32/tests: Avoid strlen in trace.
2007-06-15 12:43:31 +02:00
Lei Zhang
dd88237d3e
user32: Remove a unused variable from ES_PASSWORD test.
2007-06-15 12:40:34 +02:00
Lei Zhang
7dd98bb993
user32: Improve cut/copy/paste behavior of password edit boxes.
2007-06-14 13:54:34 +02:00
Anatoly Lyutin
c2bf60b004
user32: tests:msg Add test for switching MDI children.
2007-06-13 13:37:49 +02:00
Alexandre Julliard
6797f15a64
user32: Fix a printf format warning.
2007-06-01 13:42:37 +02:00
Vitaliy Margolen
d4fc05a9b7
user32/test: Add few tests for messages sent from SetForegroundWindow().
2007-06-01 12:51:10 +02:00
Francois Gouget
1ecd90a222
user32/tests: SWP_STATECHANGED is an undocumented flag so define it ourselves. Fixes compilation with the PSDK.
2007-05-29 12:12:14 +02:00
Dmitry Timoshkov
3c9e7a7f33
wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility.
2007-05-25 20:37:56 +02:00
Dmitry Timoshkov
141673c222
user32/tests: Fix a problem revealed by compilation in 64-bit mode.
2007-05-24 11:36:31 +02:00
Francois Gouget
a3c0d9a643
user32/tests: Fix compilation with gcc 2.95.
2007-05-21 12:38:55 +02:00
Dmitry Timoshkov
34015b93a4
user32: Add a test for the menu resource loader, make it pass under Wine.
2007-05-15 12:28:17 +02:00
Dmitry Timoshkov
7f189eccb9
user32: Add a test for CheckMenuRadioItem and make it pass under Wine.
2007-05-15 12:28:03 +02:00
Dmitry Timoshkov
1eea906dad
user32: Windows doesn't send the initialization messages to a dialog if a passed in dlgProc is NULL.
2007-05-08 13:26:01 +02:00
Dmitry Timoshkov
8723b12f98
user32: Windows doesn't redraw a window if it is being just moved.
2007-04-26 16:57:46 +02:00
Lei Zhang
c569ab2a67
user32: WM_ACTIVATEAPP on minimize message test.
2007-04-12 16:18:27 +02:00
Dmitry Timoshkov
56852a5eac
user32: Windows uses ptMaxTrackSize to set an initial window size not ptMaxSize.
2007-04-06 12:37:53 +02:00
Paul Vriens
9707a2de58
user32/tests: Don't run unicode tests if not supported.
2007-04-05 11:56:24 +02:00
Francois Gouget
d9e8a0f63e
Remove unneeded checks on the GetModuleHandle() return value for cases where we are linked with the dll.
2007-03-28 12:36:13 +02:00
Mikołaj Zalewski
4043b007fe
user32: combobox: The text area height should be font_height+4.
...
The tests shows that CBGetTextAreaHeight was using a bad formula.
2007-03-27 12:31:31 +02:00
Dmitry Timoshkov
6e5b36d4dc
user32: Avoid compiler specific code in the DefWindowProc test.
2007-03-20 13:00:20 +01:00
Mikołaj Zalewski
4893b157e2
user32: tests: Using DefWindowProcA with RegisterClassW works under Windows.
2007-03-19 13:07:26 +01:00
Rob Shearman
c3b30e5351
user32: Add several more MsgWaitForMultipleObjects tests and split them out from the main message tests.
2007-03-14 18:49:55 +01:00
Stefan Huehner
4d1d01f266
Mark several functions as static.
2007-03-13 13:35:12 +01:00
Dmitry Timoshkov
7f7d858596
user32: Make the excessive scroll test pass under Windows.
2007-03-06 12:25:15 +01:00
Dmitry Timoshkov
6f7a212ce3
user32: win2k and XP return broken border info in GetWindowInfo most of the time, so there is no point in testing it.
2007-03-05 12:07:50 +01:00
Dmitry Timoshkov
47661ce088
user32: Fix most of test failures when running message test under win2k and XP.
2007-03-05 12:07:35 +01:00
Clinton Stimpson
b878ad24c4
user32: Add another test for GetUpdateRect().
2007-03-02 11:47:19 +01:00
Dmitry Timoshkov
2d87a7bb7b
user32: Fix a test failure when running under Windows 2003.
2007-02-28 14:40:10 +01:00
Fabian Bieler
311423242b
user32: Do not call NULL message callback.
2007-02-26 13:39:48 +01:00
Francois Gouget
3bf42961a8
user32/tests: Fix the ChangeDisplaySettingsEx() test so it succeeds on NT4.
2007-02-23 11:24:19 +01:00
Alexandre Julliard
89faee0194
server: Added support for the PM_QS_* flags in PeekMessage.
2007-02-21 15:21:05 +01:00
Dmitry Timoshkov
1936fd99ee
user32: Add a CreateIcon test, make it pass under Wine.
2007-02-21 10:55:06 +01:00
Dmitry Timoshkov
8c5d169a20
user32: Add a test for DefDlgProc(WM_SETFOCUS), make the test pass under Wine.
2007-02-20 12:24:09 +01:00
Louis Lenders
ba7207cbc0
user32: Fix error return values in DialogBoxParam + simple test.
2007-02-15 11:14:53 +01:00
Aric Stewart
1b6d127aee
user32: Scroll window fix.
...
Fix the case where the scrolling amount exceeds the window but still
falls within the clipping rect. This generates an additional update
region that needs to be invalidated.
2007-02-14 21:45:36 +01:00
Dmitry Timoshkov
f407e9a05d
user32: Avoid sending unwanted DM_GETDEFID/DM_SETDEFID messages.
2007-02-14 14:06:27 +01:00
Kirill K. Smirnov
5ccc6380fc
user32/tests: Add tests for WM_SETICON.
2007-02-13 17:33:36 +01:00
Clinton Stimpson
7432a715ed
user32: Add test cases for update rects affected by ShowWindow.
2007-02-07 20:44:03 +01:00
Clinton Stimpson
f3bcc0c4f8
user32: WM_SETFONT on button doesn't repaint directly.
2007-02-06 20:23:33 +01:00
Dmitry Timoshkov
65681a0e18
user32: Add the tests for minimize/restore MDI child sequence, fix some failures.
2007-02-05 21:04:20 +01:00
Dmitry Timoshkov
0fcc10fc3c
user32: Although Windows sends WM_GETMINMAXINFO at the window creation time, it doesn't use returned values to set window size.
2007-02-05 14:01:49 +01:00
Mike McCormack
95fdf165cd
user32: Add a test showing WM_GETTEXT doesn't crash with bad pointers.
2007-01-18 11:59:17 +01:00
Paul Vriens
53b225b7ab
user32/tests: Cast-qual warning fixes.
2007-01-12 20:41:14 +01:00
Dmitry Timoshkov
f097da9f83
user32: Add a simple DrawState test, make it pass under Wine.
2007-01-11 12:05:45 +01:00
Michael Stefaniuc
22684cc767
janitorial: Remove stray '\' at end of lines.
2007-01-09 12:04:26 +01:00
Dmitry Timoshkov
ccd60c1915
user32: Add one more GetSystemMenu test.
2007-01-08 12:51:27 +01:00
Dmitry Timoshkov
b8c72fdf7c
user32: Make message tests pass cleanly under XP SP2.
2007-01-08 12:51:20 +01:00
Vitaliy Margolen
c3dc692b20
winex11drv/user32: Add ClipCursor to x11drv to pass clip rectangle to x11drv.
2007-01-06 11:40:46 +01:00
Dmitry Timoshkov
d57dc9da0a
user32: Fix some failures in the MDI message test.
2007-01-04 21:12:26 +01:00
Dmitry Timoshkov
688d9af61d
user32: Fix some failures of the ShowWindow test under Windows 2003.
2007-01-04 20:59:43 +01:00
Dmitry Timoshkov
92faf7aa96
user32: Make more ShowWindow tests pass under Wine.
2007-01-01 17:15:30 +01:00
Dmitry Timoshkov
bc2a0ca50f
user32: Update the ShowWindow test to pass cleanly under Windows 2000.
2007-01-01 17:03:14 +01:00
Vitaliy Margolen
1871473bb2
user32: Silence tests in default debug level.
2006-12-27 13:02:43 +01:00
Dmitry Timoshkov
df9eeb6669
user32: Check lParam of the HCBT_MINMAX hook message in ShowWindow tests.
2006-12-26 12:20:29 +01:00
Dmitry Timoshkov
910660253b
user32: Add a message test for various ShowWindow() calls, fix some failures.
2006-12-22 11:52:13 +01:00
Juris Smotrovs
00982465c4
user32: Extend the support for SWP_STATECHANGED for all windows.
2006-12-19 16:58:24 +01:00
Vitaliy Margolen
7de64a3ab8
winex11drv: Return cached cursor_pos in GetCursorPos().
2006-12-19 12:39:08 +01:00
Paul Vriens
75414bb4ad
user32/tests: Make sure the tests run on NT4 again.
2006-12-18 11:40:10 +01:00
Dmitry Timoshkov
6c73f7395b
user32: Add support for the VK_APPS (Menu) key.
2006-12-15 12:20:05 +01:00
Vitaliy Margolen
1d9ea46cd4
user32: ClipCursor should use virtual screen resolution for empty/invalid rects.
2006-12-14 21:13:15 +01:00
Francois Gouget
1d4aeae7aa
user32/tests: Replace some '#if 0's with 'if (0)'s.
...
Fix the code so it compiles without warnings.
2006-12-14 20:24:49 +01:00
Vitaliy Margolen
b13681797a
winex11.drv: Only events with MOUSEEVENTF_MOVE flag should change mouse position.
2006-12-13 16:16:12 +01:00
Marcus Meissner
f0280cbd1e
made functions and variables static in some testcases.
2006-12-11 12:18:29 +01:00
Huw Davies
104e1cf6dd
user32: For LBS_OWNERDRAWVARIABLE listboxes return the fixed item height if the listbox is empty.
2006-12-05 16:49:52 +01:00
Dmitry Timoshkov
ed954e5461
user32: Add ShowWindow test, make it pass under Wine.
2006-12-04 12:23:37 +01:00
Paul Vriens
93c909a3ad
user32: W2K3 returns ERROR_INVALID_PARAMETER.
2006-12-01 12:26:35 +01:00
Francois Gouget
3988c3dc8f
user32/tests: Remove unneeded NONAMELESS* macros.
2006-11-24 11:49:25 +01:00
Dmitry Timoshkov
a7c1b0e0c6
user32: Add a rudimentary WM_SETFONT message test for the static control, make it pass under Wine.
2006-11-21 15:03:11 +01:00
Dmitry Timoshkov
056a9404a8
user32: Add some optional messages to the button message test.
2006-11-21 12:14:04 +01:00
Alexandre Julliard
b8a2e3b8a4
user32: Renamed the user/ directory to user32.
2006-11-16 14:49:25 +01:00