Commit Graph

908 Commits

Author SHA1 Message Date
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
Francois Gouget df63b63614 Standardize the OK buttons. 2011-06-15 20:04:38 +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
André Hentschel 7c8ce6c6e4 user32/tests: Add tests for FlashWindowEx. 2011-05-24 12:19:11 +02:00
Marcus Meissner cfe4c7fde9 user32: Use left shift instead of right shift (Coverity). 2011-05-05 17:28:42 +02:00
Tim Hentenaar a415974b2e user32: GetTabbedTextExtent() returns non-zero value when nCount == 0. 2011-04-27 13:15:00 +02:00
Alexandre Julliard bd1fab7862 user32: Don't start menu tracking when the owner window is invalid. 2011-04-21 16:53:42 +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
David Hedberg c764210731 user32: Fix return value when passing a non-sibling preceding window to SetWindowPos.
Acrobat Reader relies on SetWindowPos, with hwndInsertAfter set to a
non-sibling window and no SWP_NOZORDER passed, to return true.
2011-03-30 15:03:44 +02:00
David Hedberg 955ec50173 user32/tests: Add some more tests for SetWindowPos. 2011-03-30 14:59:48 +02:00
Jörg Höhle 8d387f06eb user32/tests: Add a few IsWindow checks. 2011-03-30 13:28:04 +02:00
Alexandre Julliard e705f29fd5 user32/tests: Fix the GetCursorFrameInfo parameter types. 2011-03-17 13:06:50 +01:00
Erich Hoover 274e5db7e7 user32: Add support for sequence-based animated cursors. 2011-03-17 13:06:49 +01:00
Erich Hoover 28e9b99728 user32: Add support for retrieving individual animated frames. 2011-03-17 13:06:49 +01:00
Francois Gouget 4f7fc170a7 user32/tests: Use NULL instead of casting 0. 2011-03-16 14:14:23 +01:00
Austin Lund 5d0783bc0d user32/tests: Output error information in cursoricon tests. 2011-03-16 14:14:23 +01:00
Erich Hoover 3e35caa7b2 user32: Add preliminary support for reading and storing multi-rate animated cursor data. 2011-03-10 15:24:34 +01:00
Erich Hoover 86a9f20aa2 user32: Fix GetCursorFrameInfo when passed the proper number of steps. 2011-03-10 15:23:34 +01:00
Alexandre Julliard 7879b8e349 user32: Get rid of the RegisterClipboardFormat driver entry point. 2011-03-07 17:06:50 +01:00
Erich Hoover e776f3ccf7 user32: Implement semi-stub of GetCursorFrameInfo. 2011-03-07 15:10:22 +01:00
Erich Hoover 7b0ab606e2 user32: Permit loading animated cursors with CreateIconFromResource(Ex). 2011-03-07 15:10:01 +01:00
Dmitry Timoshkov 7fb4e2ae45 user32: Add a test to make sure that SendInput sets a non-zero event time. 2011-03-04 16:26:00 +01:00
Alexandre Julliard 383d8ac105 user32: Remove GetClipboardFormatName from the user driver interface. 2011-03-04 16:25:52 +01:00
Wolfram Sang ce5763b88c user32: Make DIB_GetBitmapInfo checks stricter. 2011-02-28 13:15:01 +01:00
Wolfram Sang 25923d2f16 user32/tests: Modify proper fields instead of magic offsets. 2011-02-28 13:14:55 +01:00
Marcus Meissner b0b77d4ba9 user32: Fixed some more side effect functions in assert() (Coverity). 2011-02-25 14:47:50 +01:00
Marcus Meissner a91b0e4544 user32: Remove side effect code out of asserts() (Coverity). 2011-02-23 18:24:20 +01:00
Marcus Meissner 89e662084f user32: Move functional code out of assert() (Coverity). 2011-02-23 18:22:50 +01:00
Dmitry Timoshkov cf6c76b3b4 user32: Cope with failing SetForegroundWindow(). 2011-02-21 15:18:29 +01:00
Dmitry Timoshkov 798edfec16 user32: Use the windows created by the SetParent() test to get a more predictable active/focus window state. 2011-02-18 14:54:51 +01:00
Austin English f956a472c0 user32/tests: Make sure return values are used (LLVM/Clang). 2011-02-14 13:33:32 +01:00
Austin English fc2d1ded12 user32/tests: Remove some dead assignments (LLVM/Clang). 2011-02-10 09:58:50 -06:00
Dmitry Timoshkov 07cfce6edf user32: Add message tests for SetParent(). 2011-02-09 13:46:17 -06:00
Dmitry Timoshkov de2aeebe72 user32: Add a test for reparenting a WS_POPUP window to a WS_CHILD parent. 2011-02-09 13:46:00 -06:00
Austin English 7b4cf0bec0 user32/tests: Remove unneeded assignment (LLVM/Clang). 2011-02-09 09:26:32 -06:00
Joris Huizer 26f753aec8 user32/tests: Don't test function directly when reporting GetLastError(). 2011-02-07 10:04:37 -06:00
Alexander Scott-Johns 198a55bd6e user32/tests: Test getting the data from synthesized clipboard formats. 2011-01-28 17:41:51 +01:00
Greg Geldorp 0406b5d543 user32/tests: Fix edit tests. 2011-01-24 14:43:26 +01:00
Greg Geldorp f61c8c68b6 user32/tests: Fix DDE test failures on DBCS machines. 2011-01-17 13:22:05 +01:00
Greg Geldorp 2b0d8ed7c3 user32/tests: Fix menu test failures on East-Asian machines. 2011-01-13 15:22:00 +01:00
André Hentschel 1bf8612718 user32/tests: Don't test function directly when reporting GetLastError(). 2011-01-05 17:56:04 +01:00
Greg Geldorp 4856c299ba user32/tests: Skip DefWindowProc tests on Vista+. 2011-01-03 11:54:03 +01:00
André Hentschel cbf967d600 user32/tests: Don't test function directly when reporting GetLastError(). 2010-12-31 11:44:26 +01: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
André Hentschel 7e5da86076 user32/tests: Skip DDE tests on win9x. 2010-12-01 17:16:22 +01:00
Austin Lund c82aa505e9 user32/tests: Fix test failures by disabling IME when testing unicode input. 2010-11-29 19:52:06 +01:00
André Hentschel 37adf3a6be user32/tests: Remove obsolete comment. 2010-11-29 19:51:57 +01:00
Alexandre Julliard 30554d4ef1 user32: Check structure size in GetGUIThreadInfo. 2010-11-16 21:54:03 +01:00
Alexandre Julliard 8c963852f8 explorer: Make the systray window look more like a real taskbar in desktop mode. 2010-11-02 10:32:35 +01:00
Austin Lund ccd4479ce9 user32/tests: Fixed WM_SETFONT combo box tests. 2010-10-26 11:57:57 +02:00
Austin Lund d732cd7412 user32/tests: Fix some combo box tests for different font sizes. 2010-10-25 13:52:51 +02:00
Dmitry Timoshkov 2f0b9dd3bf user32: FindWindow() should treat an empty title same way as NULL. 2010-10-19 11:00:32 +02:00
Vladimir Panteleev 824c5089d2 user32: Update last active popup for all parents. 2010-10-18 19:47:58 +02:00
Alexandre Julliard e8723a5dee user32: Fix destruction of the active cursor. 2010-10-13 15:38:06 +02:00
Alexandre Julliard 1aab7ea837 user32/tests: Add more tests for DestroyCursor on the active cursor. 2010-10-13 13:58:19 +02:00
Alexandre Julliard 6e7846e33e user32: Return the module and resource name in GetIconInfoEx. 2010-10-11 17:11:27 +02:00
Louis Lenders 62b9df9031 user32/tests: Test FindWindowEx for empty window title. 2010-10-11 17:11:25 +02:00
Alexandre Julliard d1df0c42ea user32/tests: Test GetIconInfoExW too since the A version is broken on Win64. 2010-10-11 12:54:04 +02:00
Alexandre Julliard 990842a322 user32/tests: Tests for GetIconInfoExA/W. 2010-10-08 15:24:09 +02:00
Alexandre Julliard d076dfa8e8 server: Update child window positions when resizing a mirrored parent. 2010-10-05 11:01:21 +02:00
Alexandre Julliard dfab8824c5 user32/tests: Make some variables static. 2010-10-01 13:37:44 +02:00
Louis Lenders 6e4e8fb07f user32: UpdateWindow doesn't accept a NULL hwnd. 2010-09-29 11:23:57 +02:00
Alexandre Julliard 97611dca8b gdi32: Implement MirrorRgn. 2010-09-27 20:45:56 +02:00
Alexandre Julliard 5702324b37 user32: Add support for RTL window layouts in MapWindowPoints. 2010-09-22 20:27:52 +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 a7188842af user32: UpdateLayeredWindow() should fail on non-layered or already initialized window. 2010-09-21 20:16:15 +02:00
Dmitry Timoshkov 8118430b68 user32: Do not test window state on the HCBT_SETFOCUS event, it's undefined. 2010-09-21 17:53:55 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Vladimir Panteleev 592d994f00 user32: Fix VK_RETURN handling in IsDialogMessage for dialogs without an IDOK. 2010-09-15 17:05:54 -05:00
Alexandre Julliard cd56299e2f user32/tests: Fix a number of test failures on Windows 7. 2010-09-03 11:04:33 +02:00
Alexandre Julliard 196ec5969d user32: Implement Get/SetProcessDefaultLayout. 2010-09-02 18:01:01 +02:00
Alexandre Julliard 942866f90d user32: Make child windows inherit the WS_EX_LAYOUTRTL style from their parent. 2010-09-02 17:55:02 +02:00
Alexandre Julliard 30d2079574 user32: Set the DC layout to mirrored when the window has the WS_EX_LAYOUTRTL style. 2010-09-02 15:16:39 +02:00
Dmitry Timoshkov 38b8805c0c user32: Add a bunch of GetWindowPlacement() tests, fix some simple cases. 2010-09-01 17:07:35 +02:00
Alexandre Julliard f061743a90 user32/tests: Remove some noisy output. 2010-09-01 11:13:59 +02:00
Alexandre Julliard cd79ec79a6 user32: Prevent changing some window styles through SetWindowLong. 2010-09-01 11:13:27 +02:00
Wolfram Sang 9f0f17f853 user32: Check for valid pointer in CreateIconFromResource. 2010-08-17 14:18:45 +02:00
Dmitry Timoshkov dfe6ae58af user32: Protect from setting as a window owner one of its successors. 2010-08-04 17:35:22 +02:00
Dmitry Timoshkov 5aa45d9cf4 user32: Add a test for GetClassInfo, make it pass under Wine. 2010-08-03 11:43:59 +02:00
Alexandre Julliard f1ea06375d user32: DCX_NORESETATTRS should be applied at DC release time. 2010-07-22 20:00:35 +02:00
Dylan Smith 9f32d6d6a9 user32: Prevent resize of minimized windows from SetWindowPos. 2010-07-22 12:57:04 +02:00
Dylan Smith f35dabad99 user32/tests: Minimized windows shouldn't be resizable. 2010-07-22 12:56:41 +02:00
Michael Stefaniuc c2756bc0c4 user32: Remove the ignored common resource attributes. 2010-07-22 11:41:36 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Dylan Smith 41dbacdc71 user32: RegisterClassEx should check for invalid cbSize field. 2010-07-19 14:38:16 +02:00
André Hentschel 9c1149045f user32/tests: The dialog for that proc has no IDCANCEL. 2010-07-07 11:30:27 +02:00
André Hentschel f0e21b0e62 user32/tests: Test that GetDlgItem does not recurse. 2010-07-02 13:19:21 +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 b2de316fc5 user32: Add a heuristic for Unicode mappings of DDE data on the server side. 2010-06-24 23:54:38 +02:00
Alexandre Julliard f83bc2e50a user32/tests: Fix more DDE test failures on Win9x. 2010-06-24 23:54:16 +02:00
Alexandre Julliard 83adf08bb7 user32/tests: Add some Unicode test cases for A/W mappings. 2010-06-24 22:17:19 +02:00
Alexandre Julliard c58fe1f414 user32/tests: Restructure the DDE end-to-end tests to make it easier to add new cases. 2010-06-24 20:39:16 +02:00
Alexandre Julliard fe161ec2f9 user32/tests: Fix some DDE test failures on Win9x. 2010-06-23 15:26:48 +02:00
Alexandre Julliard f5f93d459e user32/tests: Add more systematic tests to validate the DDE client-side A<->W conversions. 2010-06-23 15:26:48 +02:00
Alexandre Julliard 2649f769a5 user32/tests: Fix some class tests that behave differently on WoW64. 2010-06-17 14:05:42 +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 d8867fa718 user32/tests: Expand the DCX_NORESETATTR test to make sure we check the correct DC. 2010-06-17 12:56:25 +02:00
Wolfram Sang 0dfedd50c3 user32: No sanity checks for BITMAPCOREINFO in BITMAP_Load. 2010-06-07 13:52:35 +02:00
Austin English 6487f3397a user32/tests: Check return value of GetUpdateRect in test_validatergn. 2010-05-27 14:46:43 +02:00
Alexandre Julliard 03b335b926 user32/tests: Fix a test failure in desktop mode. 2010-05-25 16:28:04 +02:00
Austin English 5396713c2b user32/tests: Check return value of DdeClientTransaction in test_initialisation(). 2010-05-24 12:52:34 +02:00
Austin English 8ee8806773 user32: Add test for drop down width in test_changesize(). 2010-05-24 12:52:20 +02:00
Henri Verbeet 2c2e3f8665 user32: Verify we got a valid window handle in GetDCEx(). 2010-05-19 16:57:59 +02:00
Andrew Eikum 17789c1636 Revert "user32: Don't use DLGTEMPLATE's ExStyle when creating dialogs.".
This reverts commit 897f11d331.
2010-05-19 11:17:55 +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
Wolfram Sang 636e35d8ad user32: Apply sanity-check in BITMAP_Load. 2010-05-17 12:42:33 +02:00
Gerald Pfeifer 879328f3da user32/tests: Make checks in test_LoadImageFile and test_LoadImage more comprehensive. 2010-05-12 14:13:14 +02:00
Gerald Pfeifer 173a813e6a user32/tests: Remove variable atom which is not really used from test_Expose. 2010-05-10 18:20:36 +02:00
Wolfram Sang f76a3b965c user32: Honor bfOffBits in BITMAP_Load. 2010-05-10 18:20:36 +02:00
Gerald Pfeifer 612df7ee22 user32/tests: Remove SetShellWindowEx from test_shell_window. 2010-05-10 10:17:54 +02:00
Andrew Eikum 897f11d331 user32: Don't use DLGTEMPLATE's ExStyle when creating dialogs. 2010-05-08 13:12:49 +02:00
Alexandre Julliard 4c03fd0138 user32: Use the correct rop when blitting an icon in DrawIconEx. 2010-05-07 12:41:40 +02:00
Gerald Pfeifer 9da2bbfab7 user32/tests: Remove variable old_left_margin which is not really used from test_margins. 2010-05-04 18:38:43 +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
Paul Vriens 1b50493ba6 user32/tests: Run the tests again on Win95. 2010-05-03 13:57:17 +02:00
Alexandre Julliard 6551553fe6 winex11: Make the cursor window global instead of per-thread, and send it a message when the cursor changes. 2010-04-29 10:19:29 -05:00
Wolfram Sang 94a3c0987e user32: Ignore reserved bytes in BMP fileheader. 2010-04-26 13:02:51 -05:00
Nikolay Sivov 0af447ce9f user32/tests: Add some GetDlgItem() tests regarding children windows Z-order. 2010-04-25 19:22:11 -05:00
Vincent Povirk a5fd32eb84 user32: Focus editboxes when the context menu is opened. 2010-04-25 07:38:10 -05:00
Gerald Pfeifer f2c94fa138 user32: Remove variable mask which is not really used from check_alpha_draw. 2010-04-22 12:12:11 +02:00
Alexandre Julliard b6765134a3 user32: The Z-order of owned windows doesn't depend on them having the WS_POPUP style. 2010-04-13 21:10:00 +02:00
Nikolay Sivov e9bae2cfaf user32: Block TrackPopupMenu if menu is already active. 2010-04-09 11:42:01 +02:00
Alexandre Julliard a8e86e35dd winapi: Generate the 64-bit variant of structure size/alignment tests. 2010-04-07 18:03:00 +02:00
Alexandre Julliard c4dec77064 user32/tests: Fix a test that was incorrectly skipped on non-Win9x platforms. 2010-04-06 12:42:57 +02:00
Alexandre Julliard 1f1d9e7b02 user32/tests: Use the correct type for the bits pointer in CreateDIBSection calls. 2010-04-02 15:40:55 +02:00
Sébastien Ramage e7165b3921 user32: End scrollbar tracking if the mouse capture is lost. 2010-03-25 10:55:51 +01:00
Alexandre Julliard ce31f2da0a user32/tests: Fix a couple of race conditions. 2010-03-23 13:24:27 +01:00
Alexandre Julliard 49de5ca39f user32: Store the current cursor and show count in the server. 2010-03-22 17:54:21 +01:00
Francois Gouget 3428b94a8d Assorted spelling and case fixes. 2010-03-22 10:49:13 +01:00
Paul Vriens b897a37f38 user32/tests: Fix timeouts on Win9x/WinMe. 2010-03-19 12:26:46 +01:00
Alexandre Julliard c83ea46e1a user32: Return fake global information in GetCursorInfo instead of thread-local values. 2010-03-19 11:59:51 +01:00
Alexandre Julliard 0be0211682 user32/tests: Add some tests for GetCursorInfo. 2010-03-19 11:59:33 +01:00
Alexandre Julliard d2ec02e06f user32/tests: Add some tests for ShowCursor. 2010-03-18 19:26:36 +01:00
Alexandre Julliard 5a18e2a925 user32/tests: Add some tests demonstrating that SetCursor uses the thread input data. 2010-03-18 13:46:38 +01:00