Commit Graph

908 Commits

Author SHA1 Message Date
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
Ken Thomases b5b9184dec user32/tests: Test that ToUnicode null-terminates the buffer if it's big enough. 2011-12-20 10:15:31 +01:00
Dmitry Timoshkov 2455b3815a user32: Strip WS_CAPTION|WS_SYSMENU when a dialog has DS_CONTROL style set. 2011-12-12 11:13:23 +01:00
Rico Schüller b83d322dba d3dx9: Implement D3DXSHAdd(). 2011-12-12 10:19:30 +01:00
Dmitry Timoshkov 1830739118 user32: Strip WS_CAPTION|WS_SYSMENU when a dialog has DS_CONTROL style set. 2011-12-12 10:19:26 +01:00
Dmitry Timoshkov 18576b36e4 user32: Add the tests for dialog window styles, make them pass under Wine. 2011-12-07 17:50:00 +01:00
Dmitry Timoshkov 8f565eb6ae user32: Add more window style tests, make them pass under Wine. 2011-12-07 17:49:59 +01:00
Alex Henrie 59c398b8ed user32: If a dialog has no tab-accessible controls, set focus to first control (with tests). 2011-12-05 20:12:14 +01:00
Alexandre Julliard 9687ceaf1d user32: Don't allow activating a WS_CHILD top-level window through SetFocus. 2011-11-22 21:39:46 +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 3bbb208f8e user32/tests: Add tests for small sizes of cursor bitmaps. 2011-11-16 18:08:12 +01:00
Dmitry Timoshkov 2429ef905c user32: Dialog creation code should force WS_CHILD style for dialog controls. 2011-11-15 19:37:33 +01:00
Dmitry Timoshkov 50d37fe0ab user32: Add tests for mixed WS_CHILD | WS_POPUP window styles. 2011-11-15 19:37:33 +01:00
Alexandre Julliard f0d1bf5f4e user32/tests: Flush events before the key flags test. 2011-11-08 18:19:16 +01:00
Michael Stefaniuc 1435b5ecd7 include: Make "long" numeric constants LP64/LLP64 proof (winuser.h). 2011-10-31 16:46:22 +01:00
Dmitry Timoshkov 70caadbf34 user32: Add support for iPaddedBorderWidth in NONCLIENTMETRICS. 2011-10-08 19:47:35 +02:00
Francois Gouget 3de330db54 tests: Remove unneeded assert.h includes. 2011-09-27 10:59:56 +02:00
André Hentschel fd71f87642 user32/tests: Don't test function directly when reporting GetLastError(). 2011-09-26 18:15:34 +02:00
Alexandre Julliard a684b634c0 user32/tests: Try harder to flush paint events before checking the window contents. 2011-09-22 09:35:05 +02:00
Francois Gouget 3baf73aa8e user32/tests: Skip some tests if not privileged enough to call CreateWindowStation(). 2011-09-21 11:35:43 +02:00
Francois Gouget 03d4ef95ec user32/tests: Add a trailing '\n' to an ok() call. 2011-09-09 13:38:27 +02:00
Alexandre Julliard 8d50342858 user32/tests: Allow an approximate color match for the cursor contents. 2011-09-08 23:52:02 +02:00
Bruno Jesus 2b6f0b9af7 user32/tests: Add SetCaretPos/GetCaretPos tests. 2011-09-08 20:08:06 +02:00
Bruno Jesus 7c76a79ffa user32: Fix support for CB_SETDROPPEDWIDTH in combobox. 2011-09-02 18:28:25 +02:00
Thomas Faber 37f12af5c8 user32/tests: Fix build with MSVC. 2011-08-24 12:14:47 +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
Bruno Jesus 43dfbfd87d user32/tests: Add combobox CB_SETDROPPEDWITH/CB_GETDROPPEDWIDTH tests. 2011-08-22 19:49:39 +02:00
Frédéric Delanoy 760faf01a9 tests: Assorted spelling fixes. 2011-08-04 18:27:37 +02:00
Austin English 5e941f89c2 user32/tests: Remove win9x hacks. 2011-07-28 19:57:32 +02:00
André Hentschel a355121414 user32: Fix for finding nested default buttons. 2011-07-28 19:54:46 +02:00
Alexandre Julliard 4ec27a632d user32: Add support for 64-bit formats in wsprintf. 2011-07-25 13:32: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
André Hentschel 54ca4034cf user32/tests: Fix two typos. 2011-07-22 12:57:20 +02:00
André Hentschel b3fbdfa908 user32/tests: Add test for nested default button in dialogs. 2011-07-18 16:23:30 +02:00
Vincent Povirk b85dbc9c03 user32: Test that QS_HOTKEY is properly set and cleared. 2011-07-06 19:43:33 +02:00
André Hentschel 5ca020b9d8 user32: Remove dead initializations (clang). 2011-07-06 11:20:13 +02:00
Nikolay Sivov 4843cff6ef user32/tests: Test that class data is set with wrong size value too. 2011-07-04 13:42:29 +02:00
Alexandre Julliard efaa068cd1 user32: Always pass 0 as item id for WM_MEASUREITEM in menus. 2011-06-21 16:12:53 +02:00
Alexandre Julliard 33ba7c07fb user32: Don't truncate bitmap ids in InsertMenu. 2011-06-21 16:07:00 +02:00
Alexandre Julliard 6b0d9ff1cd server: Allow setting a zero-size clip rectangle. 2011-06-21 15:04:24 +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
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