Commit Graph

2326 Commits

Author SHA1 Message Date
Sebastian Lackner 26c9ce5d0b user32/tests: Add tests for ToAscii. 2015-04-06 18:06:13 +09:00
Sebastian Lackner a2695810e7 user32/tests: Add tests for ToUnicodeEx with a NULL pointer as keystate. 2015-04-06 18:06:10 +09:00
Sebastian Lackner 1059ee3cba user32: Check for NULL pointer in ToUnicodeEx. 2015-04-06 18:06:04 +09:00
Thomas Faber 2885e712f7 user32/tests: Avoid side-effect in an assert. 2015-04-03 17:07:38 +09:00
Francois Gouget 30206d9f63 user32: Mark internal symbols with hidden visibility. 2015-04-01 14:13:39 +09:00
Alexandre Julliard 13700585b1 user32/tests: Print full flag values in traces. 2015-03-30 19:49:14 +09:00
Alexandre Julliard 766768f033 user32: Remove left-over freeing of the edit text with ES_PASSWORD. 2015-03-30 19:49:12 +09:00
Frédéric Delanoy f6a341c747 Assorted spelling/grammar fixes. 2015-03-27 22:29:48 +09:00
Francois Gouget 68264c2da7 user32: Remove an unneeded NONAMELESSSTRUCT directive. 2015-03-27 00:12:34 +09:00
Piotr Caban dfd2506736 user32/tests: Don't send mouse clicks to other process windows in input tests. 2015-03-26 14:21:00 +09:00
Sebastian Lackner 5e5adcffb5 user32: Use C_ASSERT to ensure user_thread_info fits into TEB->Win32ClientInfo. 2015-03-23 22:59:21 +09:00
Nikolay Sivov c5dda71cd4 user32/static: Allow setting NULL text. 2015-03-23 16:38:09 +09:00
Sebastian Lackner 1acf20779f user32/tests: Add tests for removing already seen messages from the queue. 2015-03-17 16:00:46 +09:00
Sebastian Lackner a9ff334976 user32: Fix invalid memory access and leak if alloc_user_handle fails (Coverity). 2015-03-17 14:52:08 +09:00
Jacek Caban da72de967b user32: Allow making window visible by WM_SETREDRAW message. 2015-03-13 21:53:19 +09:00
Alexandre Julliard a5ec8bf8b0 user32/tests: Avoid a race with the get/set window text threads. 2015-02-24 21:55:44 +09:00
Alexandre Julliard 4e87b952b3 user32/tests: Ignore WM_PAINT messages in GetMessagePos test. 2015-02-24 21:55:43 +09:00
Michael Stefaniuc 63174c2f36 user32: IDI_WINLOGO is already an int resource (PVS-Studio). 2015-02-18 16:09:05 +09:00
Piotr Caban 33803586ed user32/tests: Test that CS_PARENTDC enables child window to draw over whole parent window. 2015-02-13 21:46:29 +09:00
Piotr Caban 3d6de8c8a2 user32/tests: Add tests for window clipping with CS_PARENTDC flag. 2015-02-13 21:46:25 +09:00
Piotr Caban 03f645a76b server: Filter WM_QUIT message in PeekMessage call if PM_QS_POSTMESSAGE was not specified. 2015-02-09 17:40:40 +09:00
Piotr Caban 6c5d4cb07e user32: Only use DIALOGINFO->hwndFocus to store last focus of inactive windows. 2015-02-06 00:28:34 +09:00
Piotr Caban 008a2b46f5 user32/tests: Added GetMessagePos tests. 2015-02-04 21:32:50 +09:00
Michael Stefaniuc 937146ae33 user32/tests: Remove an unused assignment (PVS-Studio). 2015-01-22 12:04:16 +01:00
André Hentschel 0b811eeabf user32/tests: Don't test function directly when reporting GetLastError(). 2015-01-21 21:36:06 +01:00
Bruno Jesus da8bb1c4a5 user32: Allocate memory based on HICON instead of DWORD to fix 64 bit problems. 2015-01-19 16:02:10 +01:00
Huw Davies 9650f21b2d user32: Actually use the menu's background brush. 2015-01-16 16:52:40 +01:00
Huw Davies 14f7fd4e23 user32/tests: Add tests for setting and getting the background brush. 2015-01-16 16:52:34 +01:00
Nikolay Sivov 151694a0bc user32: Handle NULL argument in GetKeyboardLayoutNameW(). 2015-01-13 17:52:27 +01:00
Piotr Caban 91eced0ce5 user32: Only store dialog focus when window is hidden or inactive. 2015-01-07 23:48:28 +01:00
Francois Gouget ea932fbcc1 Assorted spelling fixes. 2014-12-05 20:47:45 +01:00
André Hentschel f5f0b8bbc6 user32/tests: Remove unused variables (Clang). 2014-12-04 14:03:20 +01:00
Hans Leidekker 9023a95e5b user32: Add a stub implementation of IsTouchWindow. 2014-11-27 13:27:06 +01:00
Bruno Jesus 30120041c8 user32/tests: Ensure ShowWindow returns false when window is already hidden. 2014-11-25 19:49:32 +01:00
Drew Ronneberg f271634296 user32: Do not call SendMessage() to hide a window that is already hidden. 2014-11-21 20:08:33 +09:00
Drew Ronneberg 0908c43327 user32/tests: Add tests for calling ShowWindow(SW_HIDE) on a hidden window. 2014-11-21 20:08:29 +09:00
Sebastian Lackner d5ba7451a3 user32: Avoid sending window messages in FindWindowExW. 2014-11-18 22:10:38 +09:00
Sebastian Lackner c56ba461a2 user32/tests: Add multi-threaded tests for [Get|Set]WindowText. 2014-11-18 22:10:36 +09:00
Sebastian Lackner d6bdae11df user32/tests: Add single-threaded tests for WM_[GET|SET]TEXT and [Get|Set]WindowText. 2014-11-18 22:10:28 +09:00
Sebastian Lackner 0a6e56bdc6 user32/tests: Reenable test function for WM_GETTEXT. 2014-11-18 22:10:24 +09:00
Sebastian Lackner 381adbf1c4 user32/tests: Add tests for internal window messages of FindWindowEx. 2014-11-18 22:09:47 +09:00
Sebastian Lackner 0cf86baf65 user32/tests: Remove unnecessary char array and add additional test in test_FindWindowEx. 2014-11-18 22:09:28 +09:00
Qian Hong 8a9115d91e user32/tests: Test exception handling for timer callbacks. 2014-11-11 16:16:20 +09:00
Qian Hong cd21d2dbda user32: Add more exception handlings for timer callbacks. 2014-11-11 16:15:46 +09:00
Piotr Caban 3be5c16b4d user32: Move IME window procedure to user32. 2014-11-11 16:09:47 +09:00
André Hentschel 4ac0808022 user32/tests: Clarify ok() condition (PVS-Studio). 2014-11-11 14:21:24 +09:00
Huw Davies 4c2ad39140 user32: Make the combo's listbox a topmost window. 2014-11-10 19:23:46 +09:00
Sebastian Lackner 3326cad0dd user32/tests: Add tests for MsgWaitForMultipleObjectsEx. 2014-11-06 23:47:12 +09:00
Nikolay Sivov 3c24481dea user32/tests: Use win_skip() where appropriate. 2014-11-06 14:58:15 +09:00
Sebastian Lackner b43f13f892 user32: Fix invalid argument passed to ExtCreateRegion. 2014-11-03 20:31:10 +09:00
Huw Davies 3cd145f63f user32: Merge the blitting of the centred and non-centred cases. 2014-10-29 20:53:12 +09:00
Piotr Caban 43dcd40c0b user32: Show that IME window class is one of builtin classes. 2014-10-29 20:31:00 +09:00
Piotr Caban f747e5c8c9 user32: Don't move mouse hardware messages to other threads queues. 2014-10-17 17:51:55 +09:00
Piotr Caban 3f1bbdcae3 server: Send mouse hardware messages to thread owning top-most window.
Also don't limit mouse message scope to top-most window when message
comes from SendInput or window that generated the event is
minimized/transparent.
2014-10-17 17:51:52 +09:00
Piotr Caban 2235c820a9 user32/tests: Add mouse SendInput tests when mouse events are captured. 2014-10-17 17:51:43 +09:00
Piotr Caban 65b09537b3 user32/tests: Add mouse SendInput tests. 2014-10-17 17:51:36 +09:00
Piotr Caban 0b273d279b user32/tests: Add cross-process mouse click test. 2014-09-29 18:55:33 +02:00
Piotr Caban c86bd676c7 user32/tests: Add cross-process WindowFromPoint tests. 2014-09-29 18:55:21 +02:00
Piotr Caban d137a95fda user32/tests: Add initial WindowFromPoint tests. 2014-09-29 18:55:16 +02:00
Piotr Caban dcdf4dbf15 user32: Return early on child windows in DrawMenuBar. 2014-09-23 18:48:26 +02:00
Hugh McMaster 0fa8ae7b52 user32: Fix spelling in a comment. 2014-09-15 18:25:49 +02:00
Sebastian Lackner 4a3e0e1e0c user32/tests: Add an additional test for GetMenuItemInfo with NULL pointer as TypeData. 2014-09-09 11:11:28 +02:00
Michael Müller 997e197f23 user32: Also set cch member in GetMenuItemInfo when passing a null pointer. 2014-09-09 11:11:27 +02:00
Stefan Dösinger 3e993bf1d8 user32: Make GetRegisteredRawInputDevices hotpatchable. 2014-07-30 16:17:14 -05:00
Sebastian Lackner 34f8053efe user32/tests: Add a missing call to ReleaseActCtx(). 2014-06-24 13:31:24 +02:00
Alexandre Julliard 82bee5ceda user32: Properly block sent messages while waiting for a reply with SMTO_BLOCK. 2014-06-17 15:14:51 +02:00
Alexandre Julliard ae6efdd45d user32/tests: Silence some noisy traces. 2014-06-17 10:58:55 +02:00
Sebastian Lackner e9fbcc8360 user32: Avoid race-condition when unloading module while hook is still active.
Based on a patch by Sam Revitch.
2014-06-17 10:40:12 +02:00
Austin English 82392e78b7 user32: Add a stub for SetGestureConfig. 2014-06-17 10:34:40 +02:00
Akihiro Sagawa cb2b15921d user32: Don't close a popup menu when clicking a sub-menu parent item twice. 2014-06-13 15:57:25 +02:00
Alexandre Julliard a95651a5dc user32/tests: Remove some noisy traces. 2014-06-13 10:13:41 +02:00
Henri Verbeet f25317a608 user32: Ensure at least one character is used in TEXT_WordBreak(). 2014-06-13 10:12:12 +02:00
Bruno Jesus d90d2ab558 user32/tests: Fix a memory leak (valgrind). 2014-06-11 16:09:42 +02:00
Piotr Caban 7257b62bd1 user32: Try to activate topmost activable window in WINPOS_ActivateOtherWindow. 2014-06-11 16:09:01 +02:00
Austin English 2227abbc2c user32: Fix a comment. 2014-06-11 13:06:32 +02:00
Vincent Povirk 417585661c server: Clear the queue's QS_SMRESULT bit when sending a new message. 2014-05-20 21:26:52 +02:00
Vincent Povirk abea10fa93 user32/tests: Add test for SendMessage race condition. 2014-05-19 18:55:55 +02:00
Andrew Eikum d7f827254e user32: Remove unused internal menu messages. 2014-05-19 18:55:55 +02:00
Piotr Caban c2df317c4b user32: Fix LoadStringA behavior on 1-character long buffer. 2014-05-14 17:20:56 +02:00
Austin English 6458aca761 user32: Add a stub for RegisterTouchWindow. 2014-05-14 11:25:48 +02:00
Frédéric Delanoy b242d9cee3 user32/tests: Constify some arrays. 2014-05-12 10:48:33 +02:00
Aric Stewart dfa65a52bb user32: Pass WM_IME_CONTROL messages to the IME. 2014-05-07 20:21:58 +02:00
Erich E. Hoover b5bd529769 user32: Reduce the minimum Set[System]Timer from 15 ms to 10 ms. 2014-05-01 18:56:46 +02:00
Alexandre Julliard 6a0f3df68c user32: Don't bother returning a value from the SetWindowRgn driver entry point. 2014-05-01 12:31:14 +02:00
Andrew Eikum cb1242a8f2 user32: Only update listbox horizontal scroll info if WS_HSCROLL is set. 2014-04-28 18:25:02 +02:00
Vincent Povirk eb8406b810 user32/tests: Our popup test window loses capture to itself. 2014-04-25 10:16:15 +02:00
Vincent Povirk e1c5af1e8d user32/tests: Add a message test for popup menus on windows that have capture. 2014-04-25 10:16:11 +02:00
Vincent Povirk 412222609f user32/tests: Add test calling EndMenu from WM_ENTERMENULOOP. 2014-04-25 10:16:07 +02:00
Patrick Rudolph 66316964a9 user32/tests: Add tests for valid cbSize in GetMonitorInfoW. 2014-04-24 11:38:24 +02:00
Patrick Rudolph 4ecda80c6c user32: Check for valid cbSize in GetMonitorInfoW. 2014-04-24 11:38:09 +02:00
Andrew Eikum c4a28490f3 user32: Allow setting horizontal extent even without WS_HSCROLL. 2014-04-24 11:37:13 +02:00
Patrick Rudolph 24c572874d user32/tests: Add tests for valid cbSize in GetMonitorInfoA. 2014-04-22 18:45:30 +02:00
Patrick Rudolph 8be5dd162c user32: Check for valid cbSize in GetMonitorInfoA. 2014-04-22 18:44:39 +02:00
Dmitry Timoshkov c6dbb33e19 user32: When converting from MF_ flags to MENUITEMINFO ignore MF_POPUP if id is not a menu. 2014-04-21 11:09:52 +02:00
Dmitry Timoshkov 7744c7003b user32/tests: Add AppendMenu/ModifyMenu MF_POPUP tests. 2014-04-21 11:09:51 +02:00
Vincent Povirk 68f2b878d2 user32: Allow EndMenu() calls from WM_ENTERMENULOOP. 2014-04-18 14:36:04 +02:00
Alexandre Julliard 7e874aed75 user32: Load the message box font through the dialog template. 2014-04-15 21:03:55 +02:00
Piotr Caban 179957d5a9 user32/tests: Fix DrawMenuBar test failures. 2014-04-15 21:03:55 +02:00
Piotr Caban 55ff066103 user32: Don't fail on windows without menu bar in DrawMenuBar. 2014-04-10 16:51:09 +02:00
Alexandre Julliard b045851648 user32: Cache the server queue mask on the client side and reset them when they have changed. 2014-04-10 16:29:18 +02:00
Akihiro Sagawa 6b616a0fd8 user32: Emit EM_SETSEL message when choosing "Select All" from context menu. 2014-04-08 09:25:15 +02:00
Akihiro Sagawa 0bfc8f05c6 user32: Don't emit WM_COMMAND on choosing an item in a context menu (Edit control). 2014-04-08 09:25:06 +02:00
Akihiro Sagawa 1ba63827f2 user32/tests: Add some tests for edit control context menu messages. 2014-04-08 09:24:47 +02:00
Akihiro Sagawa 0815386430 user32/tests: Don't forget to destroy the parent window after the tests. 2014-04-08 09:24:40 +02:00
Nikolay Sivov bd262c606a user32: Added RegisterPowerSettingNotification() stub. 2014-04-07 15:34:34 +02:00
Nikolay Sivov ba3a6d1f4b user32: Fix Edit margins calculation for empty client area case. 2014-04-07 09:58:02 +02:00
Piotr Caban 27374064b6 user32: Make it possible to activate a window with parent and no WS_CHILD flag in WS_NCLBUTTONDOWN function. 2014-04-02 19:06:09 +02:00
Francois Gouget ebd9918830 user32/tests: Fix compilation on systems that don't support nameless unions. 2014-03-31 15:28:45 +02:00
Piotr Caban de21941178 user32: Change SetForegroundWindow behavior on windows with parent and no WS_CHILD flag. 2014-03-27 16:18:05 +01:00
Javier Cantero ee5c64f583 user32/tests: New test cases for SubtractRect(). 2014-03-27 12:06:03 +01:00
Piotr Caban 1cf3d8caa4 user32: Change SetFocus behavior on windows with parent and no WS_CHILD flag. 2014-03-26 19:20:44 +01:00
Javier Cantero 6ac11c60f0 user32/tests: Add SubtractRect() test. 2014-03-26 19:20:27 +01:00
Javier Cantero 1f15169f72 user32: Fix side effect in SubtractRect(). 2014-03-26 19:20:27 +01:00
Hans Leidekker fb31e0fbe3 user32/tests: Add more tests for PrivateExtractIcons. 2014-03-25 19:01:26 +01:00
Piotr Caban 61a92af5ca user32/tests: Workaround SetForegroundWindow failure due to foreground lock timeout. 2014-03-25 13:55:42 +01:00
Nikolay Sivov d3c9e8a7e6 user32: Added ChangeWindowMessageFilterEx() stub. 2014-03-20 17:46:01 +01:00
Alexandre Julliard e445303ab4 user32/tests: Make a few more messages optional. 2014-03-20 17:09:39 +01:00
Alexandre Julliard fc183ba2c5 user32: Set the queue mask only after flushing the window surfaces. 2014-03-19 15:56:22 +01:00
Alexandre Julliard 06960ac267 user32/tests: Mark a failing test as todo. 2014-03-19 12:56:11 +01:00
Nikolay Sivov 961d26418a user32: Added AddClipboardFormatListener/RemoveClipboardFormatListener stubs. 2014-03-19 11:33:17 +01:00
Frédéric Delanoy 9b1a2d8f4f user32/tests: Use BOOL type where appropriate. 2014-03-18 12:32:52 +01:00
Vincent Povirk a07966dba8 user32: Create popup menu windows before WM_ENTERMENULOOP. 2014-03-12 20:26:35 +01:00
Vincent Povirk 7f8d1de1b7 user32/tests: Add message tests for TrackPopupMenu. 2014-03-12 20:25:25 +01:00
Vincent Povirk 0dc1886634 user32/tests: Put some menu items in the test_menu_trackagain menu. 2014-03-12 20:24:24 +01:00
Vincent Povirk b8d80364c3 user32/tests: Add a test for empty popup menus. 2014-03-12 20:24:17 +01:00
Henri Verbeet ec66785f02 user32: Fix TEXT_WordBreak() when no characters fit. 2014-03-11 19:39:35 +01:00
Qian Hong 298e050b43 user32/tests: Skip more winstation tests when no enough privileges. 2014-03-10 12:19:38 +01:00
Nikolay Sivov 83367e874c user32/tests: Properly maintain clipboard viewers chain.
Without this CloseClipboard() will crash on Windows 8 if executed after
test_messages().
2014-03-07 11:36:08 +01:00
Stefan Dösinger ece57889d6 user32: Make SetWindowTextA/W hookable. 2014-03-03 17:46:50 +01:00
Aric Stewart beab7da6cd user32: Correct buffer calculation for GetMenuStringA. 2014-03-03 17:02:49 +01:00
Piotr Caban 367577c0d6 user32: Check WS_CHILD style in IsChild function. 2014-02-27 09:51:50 -06:00
Huw Davies fb298aed04 user32: If the listbox loses focus while holding capture, release it by essentially simulating a button up event. 2014-02-20 13:58:32 +01:00
Frédéric Delanoy e7c5c9ae9b user32: Use BOOL type where appropriate. 2014-02-20 11:18:37 +01:00
Dmitry Timoshkov 5395d23a7e user32/tests: Flush pending events before testing menu messages. 2014-02-18 19:19:37 +01:00
Alexandre Julliard ea9ed542be user32: Use delayed imports to call the imm32 functions. 2014-02-10 20:11:02 +01:00
Frédéric Delanoy 0f2bed51bd Assorted spelling fixes. 2014-02-10 15:47:29 +01:00
André Hentschel bdc9b147b9 user32: Use boolean return values in boolean functions. 2014-02-04 11:15:37 +01:00
Alexandre Julliard b4b817b907 user32: Only wait for the desktop process when necessary. 2014-01-30 21:49:32 +01:00
Alexandre Julliard 6bf64f0ac2 user32: Fail creation of the desktop window earlier on when it already exists. 2014-01-28 12:51:59 +01:00
Vincent Povirk ef5341b4d7 user32/tests: Add tests for MonitorFromRect. 2014-01-28 11:50:42 +01:00
Vincent Povirk 2fef984ed5 user32: Treat empty rects as 1x1 in MonitorFromRect. 2014-01-28 11:50:31 +01:00
André Hentschel fc185ccd9b user32/tests: Remove #if 1. 2014-01-28 11:50:18 +01:00
André Hentschel c855459a40 user32/tests: Avoid preprocessor check to ensure it compiles. 2014-01-28 11:50:15 +01:00
Bruno Jesus 06a6b189f6 user32: Cope with null LPMENUITEMINFO in SetMenuItemInfo. 2014-01-27 14:13:51 +01:00
Alexandre Julliard 70009d053c user32/tests: Protect the global message sequence with a critical section. 2014-01-14 13:31:10 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Frédéric Delanoy 5e94a5d4c9 user32/tests: Constify some character strings. 2013-12-31 12:24:49 +01:00
Ken Thomases b423532f94 user32: In WINPOS_SysCommandSizeMove(), fix constraining a point to a rect's right and bottom edges. 2013-12-17 16:36:45 +01:00
Alexandre Julliard 4f3d71cef3 makefiles: Get rid of the no longer used PO_SRCS variables. 2013-12-15 10:23:04 +01:00
Ken Thomases 03f8f85dda user32: Respect monitor work area when sizing or moving a top-level window.
This prevents dragging a window's title bar behind a menu bar across the top
of a screen, for example.
2013-12-13 12:36:08 +01:00
Ken Thomases 304ab65dbf user32: Fix distance calculation for MONITOR_DEFAULTTONEAREST.
If the target rect is outside a monitor rect but is between its extremes in
one dimension, that dimension should contribute 0 to the distance, rather than
some arbitrary amount.
2013-12-13 12:05:27 +01:00
Alexandre Julliard fb4441df73 user32: Don't check for comctl32 class for integer atoms. 2013-12-12 12:05:36 +01:00
Frédéric Delanoy 5ba7f79bad Assorted spelling fixes. 2013-12-03 19:41:53 +01:00
Frédéric Delanoy 57d7f74d34 Assorted spelling fixes. 2013-11-21 19:44:46 +01:00
Huw Davies 85e105bd37 user32: Add a GetKeyboardLayoutList driver entry. 2013-11-20 19:38:44 +01:00
Frédéric Delanoy 762aef6613 user32: Use BOOL type where appropriate. 2013-11-20 11:26:30 +01:00
André Hentschel de92a45822 user32/tests: Allow win8 error code. 2013-11-13 11:24:08 +01:00
André Hentschel 2209fdbdd2 user32/tests: Fix GetSystemMetrics test on Win8. 2013-11-12 12:58:03 +01:00
Alexandre Julliard 456c8f435a makefiles: Remove the no longer needed EXTRASUBDIRS variables. 2013-11-09 22:10:52 +01:00
Qian Hong f7835dea2d user32: Implement OpenInputDesktop. 2013-11-08 16:29:44 +01:00
Frédéric Delanoy 0e37ca1478 user32/tests: Use BOOL type where appropriate. 2013-11-06 12:01:54 +01:00
Frédéric Delanoy 4f6bd4911b user32/tests: Check return code from call to SystemParametersInfo. 2013-11-06 12:01:54 +01:00
Marcus Meissner 6f3d942fa4 user32: Fixed sizeof() to MultiByteToWideChar. 2013-11-06 12:01:53 +01:00
Alexandre Julliard 5756ee09f3 makefiles: Add makedep pragmas for rc files that contain translations. 2013-11-05 20:38:19 +01:00
Frédéric Delanoy bb2be17327 user32/tests: Use BOOL type where appropriate. 2013-11-05 11:16:00 +01:00
Frédéric Delanoy 77ee42fd33 user32: Use BOOL type where appropriate. 2013-11-05 11:15:06 +01:00
Francois Gouget 790d2e8b21 user32/tests: When EnumDisplaySettings() fails unexpectedly, trace how many calls were made. 2013-11-01 10:54:25 +01:00
Alexandre Julliard 9675aa173a gdi32: Allow user32 to specify the display driver to use. 2013-10-29 12:51:26 +01:00
Alexandre Julliard 010769249c user32: Get the graphics driver name from the desktop window registry entry. 2013-10-29 12:12:21 +01:00
Alexandre Julliard c25c019883 user32: Automatically load comctl32 when one of its classes is requested. 2013-10-28 18:41:04 +01:00
Alexandre Julliard 4c41c20e02 user32: Create the desktop window to trigger builtin class registration before accessing the class list. 2013-10-28 15:24:58 +01:00
Alexandre Julliard f5113d2d56 user32: Set the display device property on the desktop window as soon as it is created. 2013-10-24 19:01:55 +02:00
Alexandre Julliard fe441a0682 user32: Register classes once the graphics driver has been loaded, except for the desktop class. 2013-10-24 19:01:54 +02:00
Dmitry Timoshkov ae3a6d52d0 user32/tests: Enable user32 tests compilation with __WINESRC__ defined. 2013-10-24 10:45:38 +02:00
Dmitry Timoshkov 154df653d6 user32/tests: Fix wsprintf tests compilation with __WINESRC__ defined. 2013-10-24 10:45:26 +02:00
Dmitry Timoshkov b890c63660 user32/tests: Fix window station and desktop tests compilation with __WINESRC__ defined. 2013-10-24 10:45:20 +02:00
Dmitry Timoshkov 4c5a32e791 user32/tests: Fix window tests compilation with __WINESRC__ defined. 2013-10-24 10:45:14 +02:00
Dmitry Timoshkov 4734bd9edb user32/tests: Fix text drawing tests compilation with __WINESRC__ defined. 2013-10-24 10:44:56 +02:00
Dmitry Timoshkov c4ec0ed2d6 user32/tests: Fix system parameters tests compilation with __WINESRC__ defined. 2013-10-24 10:44:52 +02:00
Dmitry Timoshkov 371824fb85 user32/tests: Fix static control tests compilation with __WINESRC__ defined. 2013-10-24 10:44:46 +02:00
Dmitry Timoshkov 4d5c668447 user32/tests: Fix scroll tests compilation with __WINESRC__ defined. 2013-10-24 10:44:42 +02:00
Dmitry Timoshkov f26bace5af user32/tests: Fix resource tests compilation with __WINESRC__ defined. 2013-10-24 10:44:31 +02:00
Dmitry Timoshkov a7219e8c88 user32/tests: Fix message tests compilation with __WINESRC__ defined. 2013-10-24 10:44:23 +02:00
Dmitry Timoshkov 33ff6d2549 user32/tests: Fix monitor tests compilation with __WINESRC__ defined. 2013-10-24 10:44:09 +02:00
Dmitry Timoshkov d2ab1731c8 user32/tests: Fix menu tests compilation with __WINESRC__ defined. 2013-10-24 10:44:03 +02:00
Alexandre Julliard 11597d6b3c user32: Don't trigger a graphics driver load for functions that require an existing window. 2013-10-23 17:02:56 +02:00
Dmitry Timoshkov c8f608e755 user32/tests: Fix listbox tests compilation with __WINESRC__ defined. 2013-10-23 17:01:47 +02:00
Dmitry Timoshkov 0e42a41ab3 user32/tests: Fix edit control tests compilation with __WINESRC__ defined. 2013-10-23 17:01:47 +02:00
Dmitry Timoshkov 84a80215b9 user32/tests: Fix input tests compilation with __WINESRC__ defined. 2013-10-23 17:01:47 +02:00
Dmitry Timoshkov f237d5eef2 user32/tests: Fix dialog tests compilation with __WINESRC__ defined. 2013-10-23 17:01:47 +02:00
Dmitry Timoshkov ad638a32d7 user32/tests: Fix DDE tests compilation with __WINESRC__ defined. 2013-10-23 17:01:47 +02:00
Dmitry Timoshkov 6d00d04726 user32/tests: Fix DCE tests compilation with __WINESRC__ defined. 2013-10-23 17:01:47 +02:00
Dmitry Timoshkov 7603700169 user32/tests: Fix cursor and icon tests compilation with __WINESRC__ defined. 2013-10-23 17:01:46 +02:00
Dmitry Timoshkov 3e3eb805d8 user32/tests: Fix combobox tests compilation with __WINESRC__ defined. 2013-10-23 17:01:46 +02:00
Dmitry Timoshkov 5eb648c8f0 user32/tests: Fix clipboard tests compilation with __WINESRC__ defined. 2013-10-23 17:01:46 +02:00
Dmitry Timoshkov 74f205462b user32/tests: Fix class tests compilation with __WINESRC__ defined. 2013-10-23 17:01:46 +02:00
Dmitry Timoshkov 3c4d7f0d72 user32/tests: Fix broadcast tests compilation with __WINESRC__ defined. 2013-10-23 17:01:46 +02:00
Alexandre Julliard a897e13fba user32: Get rid of the CreateCursorIcon driver entry point. 2013-10-22 10:25:44 +02:00
Alexandre Julliard 6d0d7e08e5 user32: Fix the scope of a local variable. 2013-10-21 14:48:20 +02:00
Alexandre Julliard 7b2eafbc8a user32: Fix tick counter wrap-around handling. 2013-10-21 14:48:01 +02:00
Qian Hong bd5b865f00 user32/tests: Skip desktop tests on NT4. 2013-10-17 12:59:06 +02:00
Alexandre Julliard eb5127dfd1 user32: Create the desktop window before enumerating monitors. 2013-10-16 19:45:50 +02:00
Alexandre Julliard 209d1a86d2 user32: Delay creation of the 55AA pattern brush until it's needed. 2013-10-16 17:23:22 +02:00
Alexandre Julliard 7370a56543 user32: Delay registration of the builtin classes until the first window is created. 2013-10-16 17:22:19 +02:00
Qian Hong 00c9c6fde3 user32/tests: Skip winstation tests on NT4. 2013-10-15 16:01:04 +02:00
Qian Hong a0637a7f52 user32/tests: Skip winstation tests when no enough privileges. 2013-10-15 16:00:53 +02:00
Qian Hong 6e32d18f9f user32/tests: Try harder to set foreground window. 2013-10-14 10:45:31 +02:00
Qian Hong 2f26e38580 user32/tests: Make sure to allow setting the foreground window. 2013-10-11 12:45:05 +02:00
Qian Hong b6b9ea7670 user32/tests: Trace foreground window name. 2013-10-11 11:08:18 +02:00
Andrew Eikum 3ff27f3544 user32: Don't try to paint during WM_SETFOCUS if the edit control is not visible. 2013-10-11 11:04:58 +02:00
Qian Hong 5da10c9a0e user32/tests: Added foreground window tests on different desktops. 2013-10-08 15:39:01 +02:00
Qian Hong 43e1df02d2 user32/tests: Added input desktop tests on different winstations. 2013-10-08 15:39:01 +02:00
Qian Hong 834ce9a2d7 user32/tests: Clean side effect after testing winstation. 2013-10-08 15:39:01 +02:00
Qian Hong a07e0c5a4a user32/tests: Fixed typo in comments. 2013-10-08 15:39:00 +02:00
Francois Gouget 39f8c2201c user32/tests: Fix compilation on systems that don't support nameless unions. 2013-10-07 14:44:34 +02:00
Qian Hong b0cac34363 user32/tests: Added tests for OpenInputDesktop and SwitchDesktop. 2013-10-03 20:14:41 +02:00
Michael Stefaniuc 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +02:00
Michael Stefaniuc 9463dba830 tests: Use the explicit LoadLibraryA function. 2013-10-02 11:02:21 +02:00
Frédéric Delanoy 2dd332789b user32: Use BOOL type where appropriate. 2013-09-27 10:45:04 +02:00
Michael Stefaniuc 7c7fa1051c user32: Avoid using CONST. 2013-09-24 12:57:57 +02:00
Aric Stewart 4247e80a79 user32: Use Uniscribe ScriptBreak and the resulting Unicode Line Break algorithm to break lines for DT_WORDBREAK. 2013-09-13 11:17:00 +02:00
Ken Thomases c7d2bcfb61 user32: Fix mouseRect computation for starting position when sizing window.
The mouseRect is the limit of the mouse position to keep the window between
its minimum and maximum sizes.  The computation was correct if the mouse
started precisely on the window border.  But if the mouse is not exactly at
the border, then the mouse limit has to account for that, because the window
will be resized based on the distance from the starting point.
2013-09-12 11:07:50 +02:00
Nikolay Sivov 47650c3320 user32/tests: Test to show that SendMessage/PostMessage don't force caller activation context on window thread. 2013-09-06 17:25:08 +02:00
Ken Thomases 029aec19ff user32: Remove dead code for suppressing menu drawing. 2013-07-27 11:50:12 -05:00
Francois Gouget 653354ab25 Assorted spelling fixes. 2013-07-03 21:20:04 +02:00
Qian Hong 9ef2c648ee user32: Properly update caret position after result string is committed. 2013-07-03 10:28:44 +02:00
Alexandre Julliard fa311c57bf user32: Check for driver events more quickly once we start getting timer messages. 2013-07-02 19:39:34 +02:00
Alexandre Julliard cd4d71e4a2 user32: Fetch the window menu again after sending initialization messages. 2013-06-27 17:48:30 +02:00
Alexandre Julliard 8dc7b0d9c2 user32: Use the current DC layout in DrawState when drawing to an intermediate bitmap. 2013-06-18 12:57:44 +02:00
Alexandre Julliard 094251496c user32: Center the icon in the caption bar. 2013-06-17 19:30:47 +02:00
Alexandre Julliard a657e5f6ef user32: Make the default non-client metrics scalable with the resolution. 2013-06-17 19:30:38 +02:00
Alexandre Julliard 9ac7cc8311 user32: Check the correct id for the close button when setting the font. 2013-06-17 19:30:38 +02:00
Francois Gouget bd97f64d04 user32/tests: Add a trailing '\n' to a few ok() calls. 2013-06-14 11:45:19 +02:00
Marcus Meissner b853ddc40b user32/tests: Remove side effects from assert()s. 2013-06-10 11:56:27 +02:00
Hans Leidekker ba40509f90 user32: Fix icon extraction from non-native PE executables. 2013-06-06 20:05:31 +02:00
Sergey Guralnik e90418d31c user32: Bring reference MDI child to bottom when switching to next. 2013-06-06 10:42:51 +02:00
Sergey Guralnik fe2f877678 user32/tests: Test MDI child order changing caused by WM_MDINEXT. 2013-06-05 20:30:58 +02:00
Sergey Guralnik e3219fa426 user32/tests: Fix a typo. 2013-05-29 19:48:57 +02:00
Qian Hong 26683adf36 user32: Make CreateWindowExA and CreateWindowExW hotpatchable. 2013-05-24 11:06:03 +02:00
Huw Davies 5d5d0935ea user32: Use the codepage associated with the input locale for WM_CHAR-type conversions. 2013-05-21 16:59:58 +02:00
Huw Davies bf85df3f0e user32: Move back to using WC<->MB in order to specify an alternative codepage. 2013-05-21 16:55:11 +02:00
Ken Thomases 7e0c42e839 user32/tests: Test that sending WM_CANCELMODE cancels tracking in window's menu bar. 2013-05-20 21:15:38 +02:00
Ken Thomases effc28e16e user32: Allow sent WM_CANCELMODE to end menu tracking in a window's menu bar. 2013-05-20 21:15:38 +02:00
Detlef Riekenberg 9782ad77b5 user32: The flag EF_APP_HAS_HANDLE is now obsolete. 2013-05-17 16:59:34 +02:00
Detlef Riekenberg caf1bbba94 user32/tests: Add tests for EM_GETHANDLE. 2013-05-17 16:59:20 +02:00
Detlef Riekenberg 40afb51a70 user32: The app owns the text buffer memory after an EM_GETHANDLE. 2013-05-17 16:57:51 +02:00
Aric Stewart 7559526438 user32: Points for IMR_QUERYCHARPOSITION need to be in screen coordinates.
Found by Ken Thomases.
2013-05-15 19:58:37 +02:00
Piotr Caban dd573925e5 user32: Use SendNotifyMessage to send WM_DRAWCLIPBOARD. 2013-05-15 19:57:34 +02:00
Huw Davies d3fec2ce9c user32/tests: Add tests to show that WM_CHAR W<->A mapping uses the codepage associated with the current keyboard layout. 2013-05-13 20:52:08 +02:00