Commit Graph

330 Commits

Author SHA1 Message Date
Alexandre Julliard 0bc93684f0 winex11: Move the icon window off-screen for managed windows. 2012-10-15 16:17:22 +02:00
Michael Stefaniuc 1e5328c77c user32: Remove superfluous function pointer casts. 2012-09-20 19:22:59 +02:00
Alexandre Julliard 8e87b9233a user32/tests: Fix coordinates in the UpdateLayeredWindow broken case. 2012-09-18 14:47:00 +02:00
Alexandre Julliard b57323a61e user32/tests: Add a test for calling UpdateLayeredWindow from a different thread. 2012-09-17 14:13:27 +02:00
Alexandre Julliard b9fa73a798 user32/tests: Add some tests for UpdateLayeredWindow. 2012-09-13 13:50:57 +02:00
Sergey Guralnik cbf9589ba3 user32: Rearrange ComboBox repositioning code. 2012-07-26 21:38:10 +02:00
Sergey Guralnik fb4545847e user32: Add test for ComboBox repositioning behavior. 2012-07-03 12:04:57 +02:00
Thomas Faber eaaa448d2b user32/tests: Do not depend on argument evaluation order. 2012-02-22 18:47:38 +01:00
Alexandre Julliard 0702d31c81 user32/tests: Fix some test failures on Windows. 2012-01-09 16:40:28 +01:00
Dmitry Timoshkov 98e2bf4e1c user32: Add an invalid window check to SetActiveWindow. 2012-01-05 20:54:13 +01:00
Dmitry Timoshkov d09e973f7d user32: Add an invalid window check to SetFocus. 2012-01-05 20:54:10 +01:00
Dmitry Timoshkov 593340774a user32: Add some tests for SetFocus/SetActiveWindow called on invalid or belonging to another thread windows. 2012-01-04 18:59:12 +01:00
Dmitry Timoshkov 229fb8a447 user32: Add some SetFocus message tests. 2011-12-30 12:53:41 +01:00
Alexandre Julliard f6ccb2c498 user32/tests: Remove a crashing test. 2011-12-30 12:53:40 +01:00
Michael Stefaniuc 8cd1d5839f user32/tests: Drop superfluous function pointer casts. 2011-11-21 11:51:12 +01:00
Erich Hoover d202990851 user32: Prioritize focus for dialog owner on EndDialog. 2011-11-18 15:37:05 +01:00
Alexandre Julliard f0d1bf5f4e user32/tests: Flush events before the key flags test. 2011-11-08 18:19:16 +01:00
André Hentschel fd71f87642 user32/tests: Don't test function directly when reporting GetLastError(). 2011-09-26 18:15:34 +02:00
Francois Gouget ff8f6e8662 user32: When destroying a window, preserve the first WM_QUIT message that was posted to it. 2011-08-23 11:50:59 +02:00
Francois Gouget 30f2c6610d user32/tests: Test what happens to a WM_QUIT posted to a window that gets destroyed. 2011-08-23 11:50:56 +02:00
Frédéric Delanoy 760faf01a9 tests: Assorted spelling fixes. 2011-08-04 18:27:37 +02:00
Alexandre Julliard adc59e1437 user32/tests: Make hook messages optional in the SetParent test. 2011-07-25 10:43:20 +02:00
Alexandre Julliard fb2df6752e user32/tests: Fix test failures when the low-level hook cannot be set. 2011-07-22 13:03:28 +02:00
Alexandre Julliard a900fe7c9e user32/tests: Fix some last error tests that fail on Windows. 2011-07-22 13:03:28 +02:00
Alexandre Julliard 5be95f40c5 user32/tests: Mark some messages optional in the SetParent sequence. 2011-07-22 13:03:27 +02:00
Vincent Povirk b85dbc9c03 user32: Test that QS_HOTKEY is properly set and cleared. 2011-07-06 19:43:33 +02:00
Vincent Povirk cc0ea69867 server: Post WM_HOTKEY when a hotkey is pressed. 2011-06-21 14:51:14 +02:00
Vincent Povirk 4c83138f72 server: Implement RegisterHotKey/UnregisterHotKey. 2011-06-21 14:51:08 +02:00
Vincent Povirk ba9231993d user32/tests: Test that hotkeys are really replaced when using the same id/hwnd. 2011-06-21 12:27:08 +02:00
Vincent Povirk 1e2e3d1a05 user32: Add a test to find the queue containing hotkey messages. 2011-06-14 14:11:10 +02:00
Vincent Povirk 9eb6af791f user32: Ignore painting messages in the hotkey test using a wndproc. 2011-06-14 14:11:07 +02:00
Marcus Meissner 891fcb20ac user32: Initialize all of msg (Coverity). 2011-06-13 11:30:14 +02:00
Vincent Povirk b0beeaffc6 user32/tests: Do not check the last error on succeeding hotkey calls. 2011-06-08 14:12:41 +02:00
Vincent Povirk a5719990b5 user32/tests: Test registering the same hotkey hwnd/id pair twice. 2011-06-08 14:12:41 +02:00
Vincent Povirk 58ae3a7fcc user32/tests: Add test showing hotkeys change the async key state. 2011-06-08 14:12:41 +02:00
Vincent Povirk 03fbf37fe8 user32/tests: Ignore paint messages in hotkey tests. 2011-06-08 14:12:40 +02:00
Vincent Povirk ad3e0b78ad user32/tests: Add test for flags on keyboard messages. 2011-06-08 14:12:40 +02:00
Vincent Povirk 6115951502 user32: Add message test for hotkeys. 2011-05-26 15:23:56 +02:00
Vincent Povirk 363b2bb9d1 user32: Add test for RegisterHotKey/UnregisterHotKey. 2011-05-26 15:23:56 +02:00
Dmitry Timoshkov 629f382a80 user32: Fix the single menu item activation using a hot key. 2011-04-12 17:42:12 +02:00
Dmitry Timoshkov 444b781ff3 user32: Add a test for activating a menu consisting from a single menu item using a hot key. 2011-04-06 18:05:39 +02:00
Dmitry Timoshkov bb411cfb65 user32: DefDlgProc on WM_QUIT should repost it and terminate the dialog message loop. 2011-04-05 13:36:56 +02:00
Dmitry Timoshkov 1a65e209f8 user32: Add a test for WM_QUIT handling by DefDlgProc. 2011-04-05 13:36:56 +02:00
Austin Lund be24fd4b64 user32/tests: Fixed SetParent test on 64bit Vista. 2011-04-01 11:54:50 +02:00
Marcus Meissner b0b77d4ba9 user32: Fixed some more side effect functions in assert() (Coverity). 2011-02-25 14:47:50 +01:00
Dmitry Timoshkov 07cfce6edf user32: Add message tests for SetParent(). 2011-02-09 13:46:17 -06:00
Austin Lund 555e59a454 user32/tests: Disable IME for msg tests. 2010-12-03 14:28:31 +01:00
Austin Lund 0fe32508a7 user32/tests: Close second window in DBCS WM_CHAR tests. 2010-12-03 14:28:31 +01:00
Louis Lenders 6e4e8fb07f user32: UpdateWindow doesn't accept a NULL hwnd. 2010-09-29 11:23:57 +02:00
Dmitry Timoshkov 6cccf51645 user32: Uncomment the GetWindowPlacement() test, fill the test data with real values. 2010-09-22 12:43:43 +02:00
Dmitry Timoshkov 38b8805c0c user32: Add a bunch of GetWindowPlacement() tests, fix some simple cases. 2010-09-01 17:07:35 +02:00
André Hentschel 50c94bf054 user32/tests: Use if(0) instead of a comment to make sure code still compiles. 2010-06-30 11:53:08 +02:00
Alexandre Julliard fec9dc41f9 user32/tests: Ignore repeat key flag that causes occasional failures on Windows. 2010-06-17 13:37:42 +02:00
Alexandre Julliard 03b335b926 user32/tests: Fix a test failure in desktop mode. 2010-05-25 16:28:04 +02:00
Dmitry Timoshkov 184c86e774 user32: Add BM_SETSTATE/BM_SETCHECK message tests for a button, make them pass under Wine. 2010-05-17 15:41:27 +02:00
Gerald Pfeifer 7ef088b680 user32/tests: Destroy the window we created at the end of wait_idle_thread. 2010-05-04 18:36:55 +02:00
Alexandre Julliard b0760fc2e9 server: Set the idle event when PeekMessage is called with -1 as window filter. 2010-03-03 13:20:53 +01:00
Reece Dunn e66198ae92 user32/tests: Make the MDI client take up the whole client area. 2010-02-08 17:14:44 +01:00
Alexandre Julliard 48ab8eb3fd user32: Fix the WM_CONTEXTMENU parameter for 64-bit. 2010-02-02 23:44:10 +01:00
Kusanagi Kouichi 95676b50f8 user32/tests: Add test for Shift+F10. 2010-01-14 10:59:28 -06:00
Michael Stefaniuc 7e2b624896 user32/tests: Remove some explicit LPARAM/WPARAM casts. 2009-12-28 12:27:13 +01:00
Alexandre Julliard 7265e89226 server: Set the idle event when retrieving a timer message. 2009-12-16 18:18:07 +01:00
Alexandre Julliard 92e704edc5 server: Don't set the idle event when waiting for a message reply. 2009-12-16 18:06:38 +01:00
Alexandre Julliard 7d4e28480d server: Any thread can set the idle event, don't treat the first one differently. 2009-12-16 18:06:32 +01:00
Alexandre Julliard b57cc5561b server: Don't reset the idle event when the client stops waiting. 2009-12-16 18:06:14 +01:00
Alexandre Julliard ea4babc511 user32/tests: Always reset events when starting a WaitForInputIdle test. 2009-12-16 18:00:12 +01:00
Alexandre Julliard b51311d60c user32/tests: Fix a number of message test failures on various Windows boxes. 2009-12-16 12:42:40 +01:00
Alexandre Julliard d6dfcf94b0 user32/tests: Add a number of tests for WaitForInputIdle.
With help from Dmitry Timoshkov.
2009-12-15 16:08:40 +01:00
Erich Hoover b74c0cc2fe user32: Test for 'F10' key events. 2009-10-14 12:57:47 +02:00
Michael Stefaniuc bd93d0b5d8 user32/tests: Use LONG instead of long. 2009-10-02 15:06:57 +02:00
Paul Vriens fda70b97f4 user32/tests: Don't crash on Win9x/WinMe/NT4. 2009-10-01 11:33:21 +02:00
Peter Dons Tychsen f20f411925 user32: Add exception handling for timer callbacks. 2009-09-30 14:34:32 +02:00
Alexander Scott-Johns 9c9ebe04c5 user32: Send a WM_DRAWCLIPBOARD message to the new viewer when SetClipboardViewer is called. 2009-09-23 16:09:05 +02:00
Alexander Scott-Johns 64569c66e4 user32: When sending the WM_DRAWCLIPBOARD message, pass the clipboard owner in wParam. 2009-09-23 16:08:59 +02:00
Alexander Scott-Johns 4807fd99a7 user32/tests: Add some clipboard viewer tests. 2009-09-23 16:08:50 +02:00
Alexandre Julliard b225082a71 user32/tests: Use explicit prototypes for function pointers. 2009-09-09 13:12:46 +02:00
Henri Verbeet b31f0f24ff user32: Send 0 as LPARAM for SIZE_MINIMIZED WM_SIZE messages. 2009-08-03 15:02:51 +02:00
Dmitry Timoshkov df055b2d2c user32: Fix some BM_SETSTYLE test failres under Win9x. 2009-07-06 14:35:27 +02:00
Dmitry Timoshkov 87418f0aaa user32: Add a test for BM_SETSTYLE, make it pass under Wine. 2009-07-02 13:11:48 +02:00
Dmitry Timoshkov 45c8e64057 user32: Invalidate button on WM_KILLFOCUS, like Windows does. 2009-06-18 15:17:28 +02:00
Paul Vriens 267c39bc9c user32/tests: Skip some tests on Win9x/WinME. 2009-06-15 13:42:27 +02:00
Dmitry Timoshkov acb05666bb user32: Add a test for PeekMessage((HWND)-1), make it pass under Wine. 2009-06-12 17:33:16 +02:00
Alexandre Julliard 52ad8123f9 user32/tests: Add more synchronization in the exit thread test to avoid races. 2009-06-04 12:17:42 +02:00
Paul Vriens 96ef5d38af user32/tests: Remove a trace() message. 2009-06-04 12:12:02 +02:00
Alexandre Julliard d25f71b553 user32/tests: Add tests for message sequence of window destruction at thread exit. 2009-06-03 11:31:10 +02:00
Alexandre Julliard 788cdbe6fd user32/tests: Fix the listbox delete test on NT4. 2009-06-02 11:57:22 +02:00
Alexandre Julliard 4bd4812b80 user32/tests: Add an optional message for Win95. 2009-05-13 11:54:55 +02:00
Alexandre Julliard d6c8a003e1 user32/tests: Add more systematic support for ignoring certain messages. 2009-05-12 12:09:30 +02:00
Alexandre Julliard 2c882507da user32/tests: Fix the LB_DELETESTRING for older Windows versions. 2009-05-12 12:09:07 +02:00
Dmitry Timoshkov d2ecb11941 user32: Add the tests for LB_DELETESTRING, make them pass under Wine. 2009-04-29 13:07:52 +02:00
Michael Stefaniuc 69680296ee user32/tests: Don't use the long type. 2009-04-22 13:13:51 +02:00
Alexandre Julliard 0caa310c37 user32/tests: Add optional restore sequence for Vista. 2009-03-13 11:29:53 +01:00
Alexandre Julliard 28582dbf6c user32/tests: Skip shift+button test if we don't receive the event. 2009-03-11 13:03:32 +01:00
Nikolay Sivov 2948ec6a70 user32: Button should get captured when highlighted with VK_SPACE. 2009-03-10 14:51:57 +01:00
Alexandre Julliard 925c1c4ed2 user32/tests: Fix some message sequences for Vista and Win9x. 2009-03-09 17:54:16 +01:00
Alexandre Julliard 60ed3428da user32/tests: Avoid snprintf, it's broken on Mingw. 2009-03-09 17:52:08 +01:00
Alexandre Julliard 411c229654 user32/tests: Add more optional messages for Vista and Win9x. 2009-03-06 12:38:34 +01:00
Alexandre Julliard 903b52e723 user32/tests: Mark a couple of painting messages as optional. 2009-03-05 16:16:24 +01:00
Alexandre Julliard 114da7c46b user32/tests: Add some more optional messages. 2009-03-03 13:20:49 +01:00
Alexandre Julliard af0029925b user32/tests: Fix some message sequences for Win9x. 2009-02-26 15:13:25 +01:00
Alexandre Julliard 33d4c7c514 user32/tests: Add some more optional messages. 2009-02-25 12:37:07 +01:00
Alexandre Julliard f728c19a73 user32/tests: Add a couple of optional messages. 2009-02-24 16:57:28 +01:00
Francois Gouget 8b28508d2b user32/tests: Use win_skip() to skip over unimplemented functionality. 2009-02-23 12:21:21 +01:00
Alexandre Julliard fadc8afc79 user32/tests: Print all the unexpected messages we received. Fix a couple of sequences. 2009-02-21 12:57:23 +01:00
Alexandre Julliard 07d9d1fc1f user32/tests: Skip some message tests if we fail to queue events. 2009-02-20 18:46:05 +01:00
Rein Klazes d69340cd6b user32: Do not handle WM_ENDSESSION in DefWindowProc() with test. 2009-02-18 13:12:41 +01:00
Alexandre Julliard f9e405692f user32/tests: Skip message tests if queuing keyboard events doesn't work. 2009-02-17 14:58:45 +01:00
Alexandre Julliard fa212d5127 user32/tests: Add a couple of optional message, mark as todo a test that now fails consistently on Wine. 2009-02-16 11:52:17 +01:00
Alexandre Julliard 4fc6dbd86d user32/tests: Fix more message tests on XP and Vista. 2009-02-13 13:02:08 +01:00
Alexandre Julliard 0cc91abf8f user32/tests: Add some more optional messages we get on Windows. 2009-02-12 17:53:35 +01:00
Alexandre Julliard b03175e126 user32/tests: Try to fix some more failures in the message test. 2009-02-11 15:56:03 +01:00
Michael Stefaniuc e89386a59e user32/tests: Remove superfluous pointer casts.
The (MENUITEMINFO)->dwTypeData is really a string ... the joys of the
Hungarian notation.
2009-02-05 13:15:32 +01:00
Alexandre Julliard 7c1e8a9c52 user32/tests: Add a few optional messages for Win2K3. 2009-01-29 22:09:11 +01:00
Alexandre Julliard 4909fe493b user32/tests: Ignore some more messages. 2009-01-25 17:29:05 +01:00
Alexandre Julliard c83b4e230c user32/tests: Don't try to do hook tests if we can't set hooks. 2009-01-23 13:14:05 +01:00
Alexandre Julliard d3078e0bac user32/tests: Ignore WM_IME_SELECT message. Skip mouse hovering test if the mouse isn't where we want. 2009-01-22 13:11:38 +01:00
Alexandre Julliard d8375e2137 user32/tests: Fix some more message test failures on Windows. 2009-01-20 14:02:02 +01:00
Alexandre Julliard 7d585678be user32/tests: Fix some more msg test failures and improve message sequence tracing. 2009-01-19 13:36:25 +01:00
Alexandre Julliard 7551797bc4 user32/tests: Fix some more failures in the message test. 2009-01-16 12:33:07 +01:00
Alexandre Julliard 1608cb99b5 user32/tests: Add support for testing only some bits of wparam or lparam. Make some more messages optional. 2009-01-15 15:43:58 +01:00
Alexandre Julliard 078689adb0 user32/tests: Print the failure position in the message sequence. 2009-01-15 14:45:53 +01:00
Ge van Geldorp 444f4a7fbc user32/tests: keybd_event can send HCBT_KEYSKIPPED notifications. 2009-01-13 16:39:37 +01:00
Michael Stefaniuc e202baabd5 user32/tests: Do not cast the (IDC|IDI|RT)_* defines to LPSTR. 2009-01-13 15:26:11 +01:00
Alexandre Julliard 7d9b745391 user32/tests: Only display failing message sequences instead of every single message. 2009-01-12 21:51:01 +01:00
Alexandre Julliard a26857da31 user32/tests: Centralize the tracing of the received messages in the msg.c test. 2009-01-12 21:03:57 +01:00
Alexandre Julliard d852ac0b1f user32/tests: Fix some integer to pointer conversion warnings. 2009-01-08 13:18:01 +01:00
Francois Gouget 803555927c user32/tests: Make some functions static. 2008-12-12 11:42:34 +01:00
Alexandre Julliard c03917c173 Define _WIN32_WINNT before including any headers. 2008-12-04 12:10:16 +01:00
Alexandre Julliard 466de4f429 user32/tests: Make sure the message test doesn't hang if the window doesn't have focus. 2008-11-12 12:36:22 +01:00
Alexandre Julliard a16f33c002 user32/tests: Skip the PM_QS_* PeekMessage tests on NT4. 2008-11-12 11:49:11 +01:00
Alexandre Julliard 929dcfaad5 user32: Add a bunch of tests for GetQueueStatus and GetMessage combinations. 2008-10-29 13:29:33 +01:00
Michael Stefaniuc 4fc84eaf5a user32: HGDIOBJ is interchangeable with other handle types; no casts are needed. 2008-10-27 11:29:54 +01:00
Alexandre Julliard 881e30b4d1 user32/test: Fix a couple of message test failures on Windows. 2008-10-17 19:05:11 +02:00
Alexandre Julliard d9e26cb9d4 user32/tests: Fix more message test failures on NT4 and XP. 2008-09-24 13:11:26 +02:00
Alexandre Julliard 17c6542cfe user32/tests: Fix some more message test failures. 2008-09-22 12:14:56 +02:00
Alexandre Julliard 2193a70137 user32/tests: Fix a few more message test failures. 2008-09-19 12:07:18 +02:00
Alexandre Julliard 01584fb318 user32/tests: Fix a number of message test failures on various Windows versions. 2008-09-16 16:27:47 +02:00
Alexandre Julliard b2f34b3587 user32/tests: Ignore some more messages. 2008-09-15 11:29:58 +02:00
Aric Stewart 3f9aec17cd user32: Add test demonstrating the WM_PAINT loop. 2008-08-27 13:21:25 +02:00
Alexandre Julliard f59540ddad user32/tests: Fix a number of message sequence tests that could sometimes fail. 2008-08-05 14:09:33 +02:00
Alexandre Julliard 96f352b86f user32/tests: Fix some message test failures on various Windows versions. 2008-07-31 17:16:22 +02:00
Lei Zhang b3f4091b47 user32: Clamp newly created windows to the minimum window size. 2008-07-17 13:31:40 +02:00
Lei Zhang ffd66dc6ab user32: Add a test for SetWindowPos. 2008-07-17 13:31:39 +02:00
Anatoly Lyutin 2aba9f7fcb user32/tests:c Add msg tests for SetActiveWindow(). 2008-06-26 13:30:39 +02:00
Dmitry Timoshkov bb4e7832b4 user32: Make test_SetForegroundWindow() the last message test. 2008-06-24 12:45:16 +02:00
Joris Huizer 85ac6a388b user32/tests: Copy/paste fix. 2008-06-23 12:45:49 +02:00
Anatoly Lyutin f567cb5878 user32/tests: Add two tests for ShowWindow(SW_RESTORE). 2008-06-23 12:45:42 +02:00
Anatoly Lyutin 8fb730543d user32: Return at the end of processing (cmd == SW_HIDE). 2008-06-21 11:36:40 +02:00
Paul Vriens 5191f0f2fd user32/tests: Skip tests if functions are not implemented. 2008-06-21 11:14:20 +02:00
Dmitry Timoshkov bbd8ae4322 user32: Add a test for MNS_NOTIFYBYPOS, make it pass under Wine. 2008-06-18 15:21:49 +02:00