Commit Graph

2063 Commits

Author SHA1 Message Date
Alexandre Julliard 44423f915c user32: Add some defines to reduce Unicode string duplication. 2012-11-13 16:54:54 +01:00
Alexandre Julliard 2dc978686d user32: Implement a number of missing system parameters. 2012-11-13 16:54:54 +01:00
Alexandre Julliard c24017fa5a user32: Add structures to describe individual system parameters to reduce code duplication. 2012-11-13 16:54:54 +01:00
Alexandre Julliard b5d96da32f user32: Add helper functions to get and set dword registry values in SystemParametersInfo. 2012-11-12 16:35:16 +01:00
Alexandre Julliard d2607ff6c9 user32: Force refreshing the non-client area when the window surface is changed. 2012-11-06 16:02:43 +01:00
Michael Stefaniuc 5f304e7000 user32: Avoid sizeof on structs with variable length array. 2012-10-31 18:07:35 +01:00
Michael Stefaniuc 2e31a44aca user32/test: Don't over-allocate memory for DDEDATA. 2012-10-31 16:12:27 +01:00
André Hentschel 64e169d974 user32: Avoid memory leaks (coverity). 2012-10-30 19:14:17 +01:00
Alexandre Julliard b7582525a0 user32: Don't flush window surfaces while waiting for a sent message reply. 2012-10-29 14:39:53 +01:00
Alexandre Julliard 4396a79ede gdi32: Add a DC hook flag to reset the DC state. 2012-10-24 18:24:03 +02:00
Michael Stefaniuc 8ab1fc5ff7 user32: Use FIELD_OFFSET to calculate the size of a struct with variable length array. 2012-10-24 12:01:48 +02:00
Michael Stefaniuc 7d4605db41 user32: Remove redundant sizeof check. 2012-10-24 12:01:45 +02:00
Alexandre Julliard e17cdb266d user32: Retrieve the graphics driver module from gdi32. 2012-10-22 15:16:01 +02:00
Henri Verbeet 690df8198d user32: Implement GetRawInputDeviceInfoA(). 2012-10-22 11:44:28 +02:00
Henri Verbeet 30f1a61177 user32: Implement GetRawInputDeviceInfoW(). 2012-10-18 22:32:35 +02:00
Alexandre Julliard 181e432e22 user32/tests: Don't release a random DC handle. 2012-10-18 22:28:48 +02:00
Henri Verbeet 3ed797b265 user32: Implement GetRawInputDeviceList(). 2012-10-18 19:20:27 +02:00
Alexandre Julliard 6cda76fd99 user32: Don't free a clip region twice. 2012-10-17 21:40:18 +02:00
Francois Gouget b17ded0ac1 user32/tests: Add a trailing '\n' to an ok() call. 2012-10-15 19:37:36 +02:00
Alexandre Julliard 003355946f user32: Delay message spying initialization until needed. 2012-10-15 19:26:51 +02:00
Alexandre Julliard 49a5db3869 user32: Don't show the icon title for off-screen icons. 2012-10-15 16:17:46 +02:00
Alexandre Julliard 0bc93684f0 winex11: Move the icon window off-screen for managed windows. 2012-10-15 16:17:22 +02:00
Sergey Guralnik 3d4db9f28f user32: Add internal class small icons. 2012-10-15 15:27:28 +02:00
Alexandre Julliard d5244c3b24 user32: Flush window surfaces in all functions that are used to poll for input. 2012-10-15 15:24:59 +02:00
Dmitry Timoshkov e27801e93b user32: Make sure that window's normal_rect is initialized at window creation time. 2012-10-15 13:31:09 +02:00
Sergey Guralnik e193e43c29 user32/tests: Add tests for class small icons. 2012-10-11 20:23:36 +02:00
Alexandre Julliard 77b9ec8cd6 user32: Don't use the window surface when the pixel format was set. 2012-10-10 12:46:56 +02:00
Alexandre Julliard cc7bf355c5 user32: Add support for setting the window surface visible region. 2012-10-09 15:22:56 +02:00
Alexandre Julliard 20768173ba server: Add flags in the set_window_pos request to inform the server about the window surface. 2012-10-09 15:22:14 +02:00
Alexandre Julliard cf799f5852 user32: Store the pixel format in the window structure. 2012-10-09 09:51:29 +02:00
Alexandre Julliard 6eea257fd1 user32: Add a helper function to update the window visible state. 2012-10-09 09:48:11 +02:00
Alexandre Julliard b9c847a426 user32: Don't use SWP_SHOWWINDOW when the WS_VISIBLE style was already toggled manually. 2012-10-09 09:45:09 +02:00
Alexandre Julliard e41a482890 user32: Add a Wine-specific entry point to set the pixel format of a window. 2012-10-03 23:08:22 +02:00
Huw Davies 5c8e83c406 user32: If the value doesn't exist under the volatile key fallback to the permanent key. 2012-10-03 16:27:24 +02:00
Alexandre Julliard b30e84d580 user32: Don't redraw anything when WS_VISIBLE is toggled manually. 2012-10-02 19:52:44 +02:00
Alexandre Julliard 24eee97d21 user32: Add a driver entry point for UpdateLayeredWindow. 2012-10-01 13:20:20 +02:00
Alexandre Julliard ddf41276e1 user32: Invalid DCEs when the window surface changes. 2012-10-01 13:17:53 +02:00
Alexandre Julliard 61f9789c31 user32: Also call set_window_pos when the WS_EX_LAYERED bit is changed. 2012-10-01 13:17:40 +02:00
Alexandre Julliard 1d78f43000 user32: Call the SetWindowStyle driver entry point before updating the window position. 2012-10-01 13:12:29 +02:00
Alexandre Julliard 91b0ee56cf user32: Default to the dummy surface if the driver doesn't provide something else. 2012-10-01 13:09:27 +02:00
Alexandre Julliard 72337011db user32: Create a dummy window surface for windows that shouldn't be painted to. 2012-10-01 13:08:51 +02:00
Alexandre Julliard 5db9abaf81 user32: Always flush window surfaces in PeekMessage, even with PM_NOYIELD. 2012-10-01 12:13:00 +02:00
Alexandre Julliard 53e4e504b9 user32: Add tests for UpdateLayeredWindowIndirect and fix the behavior of the ULW_EX_NORESIZE flag. 2012-09-27 17:45:43 +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
Aric Stewart e603ffd19e user32: Free the uniscribe data before freeing the linedefs. 2012-09-17 18:31:37 +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
Michael Stefaniuc 20595d2988 user32: Don't bother using the register storage class specifier. 2012-09-14 15:41:40 +02:00
Alexandre Julliard b9fa73a798 user32/tests: Add some tests for UpdateLayeredWindow. 2012-09-13 13:50:57 +02:00
Alexandre Julliard b0fce2a02b user32: Refresh the frame when the style bits of a layered window are changed. 2012-09-13 13:50:40 +02:00
Alexandre Julliard 9f29dcdc2e user32: Don't send messages on position changes in UpdateLayeredWindow. 2012-09-13 13:50:15 +02:00
Henri Verbeet c6fcc0255c user32: Add rawinput keyboard support. 2012-09-12 12:47:13 +02:00
Alexandre Julliard 1a4a1e5323 user32: Check for the need to flush window surfaces every time a window finishes painting. 2012-09-11 20:56:35 +02:00
Henri Verbeet faaf3d388e user32: Add rawinput mouse support. 2012-09-11 18:06:34 +02:00
Henri Verbeet 5befb959dd user32: Implement RegisterRawInputDevices(). 2012-09-10 11:44:19 +02:00
Alexandre Julliard 57f869d557 user32: Fix DrawFocusRect to always invert the destination regardless of the text color. 2012-09-10 11:38:15 +02:00
Akihiro Sagawa 70937bd8dd user32: Add support for legacy access keys. 2012-09-06 20:28:49 +02:00
Alexandre Julliard 7304445a7e user32: Maintain a list of active window surfaces and flush them periodically. 2012-09-06 12:38:13 +02:00
Alexandre Julliard a5ef549c6e user32: Add support for managing a DIB surface for a window. 2012-09-06 12:35:32 +02:00
Alexandre Julliard 27b0b88a0b gdi32: Add a graphics driver to render windows contents through the DIB engine. 2012-09-06 12:24:25 +02:00
Alexandre Julliard 01c9c1cbc2 gdi32: Let user32 specify the device rectangle when setting the visible region. 2012-09-05 21:56:56 +02:00
Alexandre Julliard 75b641fc75 user32: Add a helper function to retrieve the virtual screen rectangle. 2012-09-05 21:56:55 +02:00
Nikolay Sivov 6b19461548 user32: Release uniscribe data on Edit control destruction (valgrind). 2012-09-05 11:47:39 +02:00
Alexandre Julliard 2dc234d923 user32: Only show a window the first time WS_VISIBLE is toggled, to work around Steam's WM_SETREDRAW usage. 2012-09-04 12:38:33 +02:00
Alexandre Julliard 85fed5b194 user32: Invalidate the DCEs while still holding the window lock in SetWindowPos. 2012-08-29 20:10:56 +02:00
Alexandre Julliard d35fc4369f user32: Always go through set_window_pos when the WS_VISIBLE style is changed. 2012-08-29 20:09:28 +02:00
Alexandre Julliard 4890964e31 user32: Rely on SetWindowPos to invalidate the DCEs when the window region is changed. 2012-08-29 18:08:10 +02:00
Alexandre Julliard f71be05ba7 user32: ScrollWindow should not use a cached DC, unlike ScrollWindowEx. 2012-08-29 12:22:58 +02:00
Piotr Caban d2e846f3d4 user32: Don't limit time needed for WM_DDE_INITIATE processing. 2012-08-22 12:03:19 +02:00
Marcus Meissner 84bb596912 user32: Fixed two use-after-free (Coverity). 2012-08-20 10:54:53 +02:00
Marcus Meissner 3fb8a42638 user32: Free the correct dce (Coverity). 2012-08-20 10:54:40 +02:00
Alex Henrie 4b67e6c778 user32: Correct dialog focus behavior. 2012-08-16 11:59:23 +02:00
Michael Stefaniuc 4affaea0ba user32: Avoid TRUE:FALSE conditional expressions. 2012-08-13 11:50:51 +02:00
Sergey Guralnik cbf9589ba3 user32: Rearrange ComboBox repositioning code. 2012-07-26 21:38:10 +02:00
Alexandre Julliard b3d91ea3b6 user32/tests: Try to fix a test that frequently fails on Windows. 2012-07-18 11:48:54 +02:00
Alexandre Julliard d8c90fa40b user32/tests: Move DlgDirList tests to avoid changing the current directory for other tests. 2012-07-17 16:22:34 +02:00
Alex Henrie c412d6f521 user32: Minimize and maximize boxes can only appear when WS_SYSMENU is set. 2012-07-17 16:22:32 +02:00
Bruno Jesus 81cbf29ef3 user32/tests: Update DlgDirList tests.
Based on original patch from Christian Lupien.
2012-07-16 18:19:26 +02:00
Bruno Jesus b3d7896aad user32/tests: Add a test for OpenClipboard twice with non-zero hwnd. 2012-07-09 15:45:37 -04:00
Sergey Guralnik fb4545847e user32: Add test for ComboBox repositioning behavior. 2012-07-03 12:04:57 +02:00
Francois Gouget 12b900ce70 user32: Make some DDE functions static. 2012-06-12 11:11:22 +02:00
Francois Gouget 31d432925c user32: Reorder some DDE functions to avoid the need for forward declarations. 2012-06-12 11:11:19 +02:00
Michael Stefaniuc 824974cee4 user32/tests: Fix the expected values in some ok() messages. 2012-06-04 19:36:15 +02:00
Alexandre Julliard f1bf4ea3fc gdi32: Move DC hook private definitions out of wingdi.h. 2012-05-31 12:37:15 +02:00
Piotr Caban 42eb57dfa7 user32/tests: Added SetWindowPos test that incorrectly sets focus. 2012-05-22 18:02:55 +02:00
Piotr Caban 1a74d21090 user32/tests: Added more GetMenuBarInfo tests. 2012-05-16 20:27:23 +02:00
Piotr Caban 1128546437 user32/tests: Added GetMenuBarInfo tests. 2012-05-16 20:27:21 +02:00
Piotr Caban cd08b5a40a user32: Added GetMenuBarInfo implementation. 2012-05-16 20:27:11 +02:00
Michael Stefaniuc ca64393e99 user32/tests: Remove duplicated ok() call. 2012-05-16 18:30:21 +02:00
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Francois Gouget b89a49d481 user32: Fix the spelling of the hRecipient variable. 2012-05-15 16:26:41 +02:00
Francois Gouget 1c9bf32e19 user32/tests: Add a trailing '\n' to ok() calls. 2012-05-15 16:26:39 +02:00
Michael Stefaniuc c6033397f3 user32/tests: Check the correct variable for the correct value. 2012-05-15 16:26:38 +02:00
Owen Rudge fecde1ead8 user32: Return Unicode length instead of ANSI in GetUserObjectInformationA. 2012-05-14 17:48:32 +02:00
Owen Rudge 83f67ff998 user32: Correct return value when buffer too short in GetUserObjectInformation. 2012-05-14 17:48:27 +02:00
Owen Rudge f443f29150 user32/tests: Add GetUserObjectInformation tests. 2012-05-14 17:48:22 +02:00
Austin English 6f40cb83e9 user32: Make a few more functions hotpatchable. 2012-04-30 20:03:27 +02:00
Alexandre Julliard 1dba866e61 user32: Don't invalidate DCEs for sibling top-level windows since they are not clipped. 2012-04-19 16:34:37 +02:00
Aric Stewart 4ad945337f user32: While calculating lines, discard uniscribe data for non-visible lines. 2012-04-05 17:53:21 +02:00
Dmitry Timoshkov 38a76ecb03 user32: SetWindowPos() should check the final window position in screen coords before adding SWP_NOMOVE. 2012-04-02 18:35:55 +02:00
Dmitry Timoshkov 847317d019 user32: SetParent() should use ShowWindow() to make a reparented window visible and move a window to new position. 2012-04-02 18:35:52 +02:00
Dmitry Timoshkov 38387dcffe user32: IsDialogMessage should allow control ids other than IDOK when processing WM_KEYDOWN. 2012-03-29 20:49:19 +02:00
Thomas Faber eaaa448d2b user32/tests: Do not depend on argument evaluation order. 2012-02-22 18:47:38 +01:00
Marcus Meissner 626d0b75ba user32: Remove duplicated call to GetSystemMenu (Coverity). 2012-02-20 11:38:52 +01:00
Alexandre Julliard 5d1a147163 user32: Add mouse tracking on caption right-clicks to avoid messing with the capture. 2012-02-15 16:27:12 +01:00
Alexandre Julliard f87191815d user32: Fix GetKeyNameText returned length. 2012-02-15 12:07:34 +01:00
Alexandre Julliard 8ab65c222e user32: Draw the mask with SRCCOPY in DrawIcon when the image isn't being drawn. 2012-02-08 11:00:51 -06:00
Dmitry Timoshkov 9d538e43be user32: Make FlashWindowEx tests pass under Windows. 2012-02-07 09:31:33 -06:00
Dmitry Timoshkov 39a4b5fa94 user32: Fix a couple of typos. 2012-02-07 09:31:21 -06:00
Dmitry Timoshkov ea7e9ed2eb user32: RealChildWindowFromPoint should skip invisible windows. 2012-02-06 10:23:27 -06:00
Dmitry Timoshkov 8c7f3964b5 user32: Add a bunch of RealChildWindowFromPoint tests. 2012-02-06 10:23:23 -06:00
Aric Stewart 1967fae847 user32: Have a fallback in linebreaking if uniscribe fails to analyse a string. 2012-01-30 20:44:45 +01:00
Aric Stewart 4bc418b356 user32: Check return code from ScriptStringAnalyse. 2012-01-30 20:44:44 +01:00
Francois Gouget 25ef0105ba user32: Use '+' when specifying a modifier + accelerator key combination. 2012-01-23 16:07:18 +01:00
Alexandre Julliard adad80f4bd user32: Always query actual key state from the server for pressed keys. 2012-01-17 16:26:09 +01:00
Alexandre Julliard 03820a527b user32: Fix some printf format warnings. 2012-01-17 15:02:51 +01:00
Alexandre Julliard 50480c72f3 user32: Fix a pointer cast warning. 2012-01-16 18:17:45 +01:00
Alexandre Julliard 8407559167 user32: Don't access past the file size when loading a cursor/icon. 2012-01-12 12:18:15 +01:00
André Hentschel 49034716ce user32: No need for WINE_ prefixed debug output macro. 2012-01-11 17:47:25 +01:00
Aric Stewart 3ebb878470 usp10: Better handle cases in single line edit controls where es->x_offset exceeds line length. 2012-01-10 17:55:04 +01:00
Alexandre Julliard 0702d31c81 user32/tests: Fix some test failures on Windows. 2012-01-09 16:40:28 +01:00
Alexandre Julliard 02442b52a4 user32: Return the cursor position in send_hardware_message and use it to update the driver's position. 2012-01-09 12:14:36 +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
Aric Stewart 27e3e1a89b usp10: Correct error in EDIT_GetLineRect in index for ScriptStringCPtoX. 2011-12-21 18:06:51 +01:00
Aric Stewart b83c587f6e user32: Do not simply return 0 in EDIT_EM_PosFromChar if line ssa is NULL. 2011-12-20 20:06:34 +01:00
Aric Stewart 3f1a8f6668 user32: Modify EDIT_GetLineRect to better handle RTL lines. 2011-12-20 20:06:33 +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
Francois Gouget 8defd5fc3a user32: Avoid hardcoding the Unicode string literal lengths. 2011-12-19 11:00:57 +01:00
Alexandre Julliard 430c8aa910 user32: Don't try to alpha blend icons on low color bitmaps. 2011-12-16 17:40:32 +01:00
Alexandre Julliard 755abced55 user32: Always use the default alignment when displaying submenu popups. 2011-12-15 17:46:25 +01:00
Alexandre Julliard cb3b723792 user32: Cache the global key state to avoid performance issues in applications that poll constantly. 2011-12-15 16:25:40 +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
Aric Stewart 4012cc070e user32: Protect against NULL ssa to prevent crashes in old native usp10. 2011-12-06 16:09:34 +01:00
Hans Leidekker e54ab7a8b6 user32: Add stub implementations of MessageBoxTimeoutA/W. 2011-12-06 15:51:00 +01:00
Alexandre Julliard 95f81d10c9 user32: Convert dialogs to po files. 2011-12-05 21:23:22 +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 174d2f6d72 user32: Use the correct alpha for the title bar gradient and simplify the mesh. 2011-11-30 14:33:47 +01:00
Francois Gouget 51a256e65f Assorted spelling fixes and wording tweaks. 2011-11-28 16:40:50 +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
Francois Gouget 1b1433a152 user32: Delete the static critical section when unloading the dll. 2011-11-17 11:38:05 +01:00
Dmitry Timoshkov eb0576ba59 user32: Issue a warning when dialog control creation fails. 2011-11-17 11:37:41 +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
Andrew Talbot 7e31baba31 user32: Suppress sign-extension through integer promotion. 2011-11-09 11:35:11 +01:00
Alexandre Julliard f0d1bf5f4e user32/tests: Flush events before the key flags test. 2011-11-08 18:19:16 +01:00
Piotr Caban 816802cb11 user32: Fix DFC_BUTTONRADIOMASK flag support in DrawFrameControl. 2011-11-03 15:32:12 +01:00
Aric Stewart 5e32724210 user32: Only attempt autoscroll line breaking on an edit control when we have a reasonable width to break to. 2011-11-02 12:28:28 +01:00
Aric Stewart 64adeb0285 user32: Early versions of usp10 are not well behaved with ScriptString_pSize when SCRIPT_STRING_ANALYSIS is NULL. 2011-11-01 16:43:24 +01:00
Aric Stewart 4b7300ef77 user32: Respect rev for painting selections. 2011-10-31 16:53:42 +01:00
Michael Stefaniuc 1435b5ecd7 include: Make "long" numeric constants LP64/LLP64 proof (winuser.h). 2011-10-31 16:46:22 +01:00
Aric Stewart c83841ca0e user32: Improvement for performance in soft linebreaking. 2011-10-28 12:45:56 +02:00
Aric Stewart 820460fcce user32: Handle PosFromChar if the string is empty and so we have no ssa. 2011-10-28 12:45:35 +02:00
Aric Stewart 94bd422f89 user32: When building linedefs prev can be less than 0 if the format width is less than the width of a single character. 2011-10-25 20:13:32 +02:00
Aric Stewart 3b5e14a9b0 user32: Use Uniscribe in the multiline edit control. 2011-10-24 11:15:00 +02:00
Aric Stewart 67196377b5 user32: Recalculate string length when cropping string to fit. 2011-10-19 16:39:26 +02:00
Aric Stewart acaa0dc2da user32: Use Uniscribe in the single line edit control. 2011-10-18 16:07:55 +02:00
Marcus Meissner 118dc1998f user32: Load PaddedBorderWidth from registry too (Coverity). 2011-10-17 17:45:04 +02:00
Dmitry Timoshkov 9711cdbcab user32: Respect the requested size of NONCLIENTMETRICSW structure. 2011-10-11 13:37:50 +02:00
Aric Stewart de8a059d52 user32: Use uniscribe ScriptBreak to handle edit control linebreaking. 2011-10-11 13:37:49 +02:00
Dmitry Timoshkov 197f867fef user32: Fix the logic deciding when to write to the destination structure. 2011-10-10 13:44:46 +02: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
Francois Gouget dd0f5377ed user32: Change HotTrackingColor to better differentiate regular links from visited links. 2011-09-22 19:51:52 +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
Jacek Caban ab37b86236 user32: Make GetWindowInfo hotpatchable. 2011-09-12 10:07:34 +02:00
Marcus Meissner d177a97d28 user32: Fixed single byte array overflow. 2011-09-12 10:07:24 +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
Alexandre Julliard db7ace64d3 user32: Compute the size of the message spy arrays at compile time. 2011-09-04 19:40:36 +02:00
Bruno Jesus 7c76a79ffa user32: Fix support for CB_SETDROPPEDWIDTH in combobox. 2011-09-02 18:28:25 +02:00
Alexandre Julliard 16944f500d user32: Simplify the DIB byte width computation. 2011-08-29 12:08:21 +02:00
Alexandre Julliard 43240527b6 user32: Pass valid dimensions to GetDIBits. 2011-08-29 12:08:21 +02:00
Francois Gouget c992ca277d Assorted spelling fixes. 2011-08-24 19:07:46 +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
Frédéric Delanoy 7e309601f3 dlls: Assorted spelling fixes. 2011-08-03 14:15:50 +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
André Hentschel b37051d28b user32: Remove dead assignment (clang). 2011-07-14 14:45:02 +02:00
Akihiro Sagawa 42b06d6ff5 po: Add message contexts for 'Restore' and update Japanese translation. 2011-07-14 14:29:38 +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
Vincent Povirk 8c0d568c32 user32: Notify the user driver of hotkey changes. 2011-07-05 16:00:20 +02:00
André Hentschel 9cd2d61b6e user32: Remove dead code (clang). 2011-07-04 13:43:17 +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
André Hentschel 7521ae4291 user32: Use more meaningful variable names. 2011-06-28 11:57:50 -05:00
Piotr Caban 371cff4883 user32: Don't redeclare button state macros. 2011-06-27 15:04:55 -05: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
Krzysztof Nowicki 7415946716 user32: Make more functions hot-patchable for Steam. 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
Francois Gouget e82c57372b user32: Use macros for the resource IDs instead of numeric literals. 2011-05-19 10:22:39 +02:00
Owen Rudge c55ff281c7 user32: Add separate sysmenu for MDI child windows. 2011-05-17 10:45:31 +02:00
Francois Gouget dc63061af1 user32: Use MSGBOX_IDICON throughout instead of sometimes using stc1 and sometimes 1088. 2011-05-16 16:35:28 +02:00
Marcus Meissner 0ba1bfb062 user32: DrawText gets a 32bit flag, not a 16bit flag. 2011-05-05 17:28:47 +02:00
Marcus Meissner cfe4c7fde9 user32: Use left shift instead of right shift (Coverity). 2011-05-05 17:28:42 +02:00
Alexandre Julliard 666c40f398 user32: Catch bad pointer passed to SetSysColors. 2011-05-05 16:31:58 +02:00
Francois Gouget aaec50d44c user32: SCROLL_SetNCSbState() is not used anymore so remove it. 2011-05-03 14:38:06 +02:00
Tim Hentenaar a415974b2e user32: GetTabbedTextExtent() returns non-zero value when nCount == 0. 2011-04-27 13:15:00 +02:00
Alexandre Julliard 8aa1a26886 user32: Pass a NULL rectangle in the ClipCursor entry point when clipping is reset because of focus change. 2011-04-22 17:51:28 +02:00
Marcus Meissner 6148f785f9 user32: Mark internal functions with hidden visibility. 2011-04-22 12:59:20 +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
Alexandre Julliard 79c2e55b5a user32: Only call the driver when the cursor position has really changed. 2011-04-20 20:30:09 +02:00
Alexandre Julliard 513e5c98a7 user32: Add support for loading animated cursors/icons from resources. 2011-04-20 11:16:18 +02:00
Alexandre Julliard 8970e29f44 user32: Support creating animated icons, not only cursors. 2011-04-20 10:54:10 +02:00
Jörg Höhle 5d7e6b7506 user32: Added message names for winmm. 2011-04-15 15:39:44 +02:00
Dmitry Timoshkov 629f382a80 user32: Fix the single menu item activation using a hot key. 2011-04-12 17:42:12 +02:00
Francois Gouget d1b51d8502 programs: Standardize the About menus. 2011-04-12 13:08:14 +02:00
Dmitry Timoshkov a859e73d5f user32: Use symbolic names for values returned by WM_MENUCHAR handler. 2011-04-11 12:09:43 +02:00
Dmitry Timoshkov 094db744ce user32: Use symbolic names for values returned by WM_MENUCHAR handler. 2011-04-08 14:08:49 +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
Alexandre Julliard ad32b28ac0 user32: Avoid accessing the dialog info of a destroyed window. 2011-04-06 13:01:20 +02:00
Alexandre Julliard 886ae4c348 winex11: Always forward SetCursor to the driver, and limit the frequency of updates on the driver side. 2011-04-05 13:36:57 +02:00
Alexandre Julliard 21e86f60ec server: Post a message to the desktop window when the cursor clip rectangle changes. 2011-04-05 13:36:57 +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
Alexandre Julliard 6576703fac server: Return the time of last change along with the current cursor position. 2011-03-31 20:15:56 +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 2f368cfad2 user32: Reset the cursor clip rectangle before moving a window. 2011-03-30 13:28:04 +02:00
Dmitry Timoshkov 5fea02e8c2 user32: Add the SW_SHOWDEFAULT case to WINPOS_MinMaximize(). 2011-03-29 12:58:24 +02:00
Marcus Meissner 81ed815173 user32: Added missing break. 2011-03-28 17:11:50 +02:00
Marcus Meissner 3d44f4c8b3 user32: Added missing break (Coverity). 2011-03-28 17:11:34 +02:00
Alexandre Julliard e705f29fd5 user32/tests: Fix the GetCursorFrameInfo parameter types. 2011-03-17 13:06:50 +01:00
Erich Hoover 8486b2010f user32: Downgrade GetCursorFrameInfo FIXME to a TRACE unless the second parameter is non-zero. 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 7b333de867 user32: Merge create_icon_bitmaps with CURSORICON_CreateIconFromBMI. 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
Erich Hoover fa4f9c43bc user32: Handle static and animated cursors as separate objects. 2011-03-17 13:06:49 +01:00
Erich Hoover ee8cb4f728 user32: Add a convenience function for retrieving the number of steps in a cursor. 2011-03-16 16:31:55 +01:00
Erich Hoover 0bb1aadb8f user32: Add get/release routines for accessing cursor frames. 2011-03-16 16:31:54 +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
Marcus Meissner f3aab0c0e9 user32: Remove useless NULL checks (Coverity). 2011-03-15 17:14:07 +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 389ffed293 user32: Add FIXMEs for unsupported animated cursor data. 2011-03-10 15:24:04 +01:00
Erich Hoover 86a9f20aa2 user32: Fix GetCursorFrameInfo when passed the proper number of steps. 2011-03-10 15:23:34 +01:00
Aric Stewart 77fdee8a2e user32: Remove SetWindowText export. 2011-03-10 12:52:51 +01:00
Austin English 38a87ecfea user32: Avoid shadowing a parameter. 2011-03-09 15:54:20 +01:00
Alexandre Julliard 383bda91cf user32: No longer export HOOK_CallHooks. 2011-03-08 14:50:47 +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
Alexandre Julliard 55e1fec7c3 user32: Set the last mouse event timestamp before calling the low-level hook. 2011-03-07 11:07:15 +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
Alexandre Julliard f1a3480068 user32: Handle input injected through SendInput entirely in user32. 2011-03-02 21:48:39 +01:00
Alexandre Julliard c7efa293f0 server: Invoke low-level hardware hooks directly from the server side. 2011-03-02 21:26:13 +01:00
Alexandre Julliard ae895a1f10 user32: Export a Wine-specific function to send hardware input from the graphics driver. 2011-03-02 21:25:43 +01:00
Alexandre Julliard 39c4e6d1d9 user32: Retrieve the current cursor position from the server. 2011-03-01 13:21:42 +01:00
Alexandre Julliard a7da164949 user32: Retrieve the key state for GetAsyncKeyState from the server. 2011-02-28 22:28:42 +01:00
Wolfram Sang c67f075d67 user32: Check bitmap info before it is used. 2011-02-28 13:15:07 +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
Alexandre Julliard 02e8174067 server: Store the cursor clip rectangle in the server. 2011-02-25 13:50:19 +01:00
Alexandre Julliard 183c41b49a server: Store the global cursor position in the server. 2011-02-25 11:25:15 +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