Commit Graph

616 Commits

Author SHA1 Message Date
Alexandre Julliard 5714c4deee user32: The client rectangle is in screen coordinates for the initial WM_NCCALCSIZE. 2008-05-08 11:12:03 +02:00
Dmitry Timoshkov 2e19d9c473 user32: Set the size of returned DEVMODE to least common one as XP does. 2008-05-05 12:54:08 +02:00
Huw Davies be900067b6 user32: Fix bitmap_info_size to take into account bit field masks. 2008-05-02 16:07:45 +02:00
Alexandre Julliard f39d39e35f user32: Add an exception handler around LB_GETTEXT to hide a Delphi bug. 2008-05-02 11:41:49 +02:00
Paul Vriens 587f14da0b user32/tests: Run tests again on win95. 2008-05-01 18:11:26 +02:00
James Hawkins 5f25368414 user32: Fix a test that fails in win2k3. 2008-05-01 12:35:30 +02:00
ByeongSik Jeon 64e64d657c user32: Post the WM_KEY{DOWN|UP} message whenWM_IME_KEY{DOWN|UP} message is generated by IME. 2008-05-01 10:57:34 +02:00
Andrew Talbot d8ce2207b8 user32: Remove unused variables. 2008-04-30 10:25:35 +02:00
James Hawkins 17c907e6c3 user32: Fix a test that fails on platforms without IME. 2008-04-28 14:36:05 +02:00
ByeongSik Jeon 936e8473db user32: Set the vkey value to VK_PROCESSKEY when IME process key. 2008-04-28 14:29:51 +02:00
Vitaliy Margolen 09c6bf415f winex11: Fix MapVirtualKeyEx to properly map left-right modifier keys. 2008-04-28 13:27:51 +02:00
Lei Zhang ae1b735547 user32: Edit controls should ignore WM_KEYDOWN on control + enter. 2008-04-25 14:53:47 +02:00
Erik de Castro Lopo 56797f9c65 user32/tests: Use SetWindowLongPtr instead of SetWindowLong. 2008-04-25 11:34:49 +02:00
Alexandre Julliard 9359ff6fe0 user32: Allow the default desktop name to be specified on a per-app basis. 2008-04-24 17:22:04 +02:00
Paul Vriens a3512ab8ab user32/tests: Skip tests if function is not implemented. 2008-04-24 13:14:29 +02:00
Alexandre Julliard c6d04ea9d5 user32: Make drivers non-const to avoid a compiler warning. 2008-04-24 11:53:58 +02:00
Lei Zhang 2f0b111243 user32: Handle VK_RETURN WM_KEYDOWN events better in edit controls.
Elias Benali wrote the initial version of this patch.
2008-04-24 11:52:22 +02:00
Lei Zhang 1e5faee29e user32: Add a test for sending WM_KEYDOWN to a child edit control. 2008-04-24 11:51:34 +02:00
ByeongSik Jeon 4b77bb4ae2 user32: Pass the WM_IME_NOTIFY message to the default IME window. 2008-04-23 13:27:13 +02:00
Jeff Latimer 41e757c812 user32/tests: Fix typedefs & function definitions so that the code compiles in visual C++ 2005. 2008-04-23 12:22:48 +02:00
Austin English 6e59cd2c34 Spelling fixes. 2008-04-22 12:20:12 +02:00
Alexandre Julliard 9727aa8123 winex11: Use SetWindowPos to invalidate DCEs when changing the pixel format. 2008-04-21 20:32:22 +02:00
Alexandre Julliard b9443c9a14 user32: Invalide DCEs also when resizing a hidden window, or when minimizing. 2008-04-21 20:31:14 +02:00
Alexandre Julliard 6a8b38ff20 user32: Dump more SetWindowPos flags. 2008-04-21 20:30:43 +02:00
Alexandre Julliard fe4706940c user32: Remove redundant LocalUnlock calls. 2008-04-21 12:10:37 +02:00
Anatoly Lyutin 391ecdb6d2 user32/tests: Add test for switching not maximized mdi children. 2008-04-18 13:57:15 +02:00
Anatoly Lyutin 7c4c6f1b59 user32/tests: Get rid of magic number. 2008-04-18 13:57:15 +02:00
Kusanagi Kouichi d79dff4e30 user32: Handle IME messages more gracefully. 2008-04-18 13:57:15 +02:00
Hwang YunSong(황윤성 5322e74291 user32: Updated Korean resource. 2008-04-18 13:57:14 +02:00
Alexandre Julliard 5cc82b07b3 user32: Added support for WS_EX_RIGHT in the static control. 2008-04-17 19:26:43 +02:00
Alexandre Julliard f4136deecb user32: Added support for WS_EX_RIGHT in the edit control. 2008-04-17 19:26:39 +02:00
Alexandre Julliard bbd9e229e3 user32: Added support for WS_EX_RIGHT in the button control. 2008-04-17 19:26:34 +02:00
James Hawkins b8bdb1304b user32: Fix a test that fails in XP and win2k3. 2008-04-17 11:39:48 +02:00
Lei Zhang 483116a89e user32: Handle ctrl + end in edit control. 2008-04-15 14:34:35 +02:00
Lei Zhang dfdd9290a7 user32: Handle ctrl + home in edit control. 2008-04-15 14:34:28 +02:00
Lei Zhang 4aef5cb86d user32: Do checks in the right order in EDIT_BuildLineDefs_ML. 2008-04-15 14:34:18 +02:00
Aric Stewart f51542d9b5 user32: Call ImmProcessKey in TranslateMessage to allow IMEs to handle key processing if they choose to. 2008-04-14 23:50:13 +02:00
Hwang YunSong(황윤성 d20d374f77 user32: Updated Korean resource. 2008-04-14 23:50:13 +02:00
Alex Villacís Lasso 1fcc4ffdfa user32: LoadImage(IMAGE_BITMAP) should reject invalid BMP files (with tests). 2008-04-14 12:06:37 +02:00
Aric Stewart d0cf2342df user32: Make sure there is space for at least 6 items in a combo dropdown without forcing it to be at most 6 items as well. 2008-04-14 12:05:04 +02:00
Dmitry Timoshkov 7668241015 user32: Use appropriate type for lresult. 2008-04-14 12:04:51 +02:00
Dmitry Timoshkov 29565d558f user32: Fix Win64 warnings. 2008-04-11 12:11:33 +02:00
Alexandre Julliard ac0db11459 user32/tests: Replace the keyboard flags bitfield by the official flag definitions. 2008-04-10 17:59:10 +02:00
Alexandre Julliard eb857aebeb user32: Moved the menu activation hack on managed windows to the X11 driver. 2008-04-10 16:41:26 +02:00
Alexandre Julliard fa677c7f72 user32: Forward all WM_SYSCOMMAND messages to the driver, not only moves and resizes. 2008-04-10 15:58:43 +02:00
Lei Zhang 95f323ed46 user32: Handle VK_TAB in EDIT_WM_KeyDown. 2008-04-10 10:00:03 +02:00
Alexandre Julliard e3ac70c1cb user32/tests: Avoid testing uninitialized data. 2008-04-10 09:45:34 +02:00
Lei Zhang 5cc671eec5 user32: Fix a typo. 2008-04-09 21:00:54 +02:00
Lei Zhang b7ffa86725 user32: Add edit control check to see if its in a dialog on WM_CHAR/VK_TAB. 2008-04-09 21:00:45 +02:00
Lei Zhang f704d5c699 user32: Add edit control check to see if its in a dialog on WM_CHAR/VK_RETURN. 2008-04-09 21:00:23 +02:00
Alexandre Julliard 806d08c206 user32: Get rid of the debug mark option in the system menu. 2008-04-08 12:20:04 +02:00
Lei Zhang 6736ed82ed user32: Handle VK_ESCAPE correctly in EDIT_WM_KeyDown. 2008-04-08 12:18:38 +02:00
Lei Zhang 7f10fe0744 user32: Handle ES_MULTILINE correctly for WM_KEYDOWN/VK_RETURN. 2008-04-08 12:18:18 +02:00
Lei Zhang c8a4bb8fff user32: Fix WM_CHAR return value for edit controls. 2008-04-08 12:18:05 +02:00
Lei Zhang 42d32aba02 user32: Add tests for edit controls and VK_TAB. 2008-04-08 12:17:54 +02:00
Lei Zhang d1abf27f8d user32: Add tests for edit controls and VK_RETURN. 2008-04-08 12:17:43 +02:00
Lei Zhang e91de39521 user32: Add more tests for single line edit control inside a dialog. 2008-04-08 12:17:28 +02:00
Lei Zhang 8cf7eef073 user32: Add more tests for ES_WANTRETURN. 2008-04-08 12:17:13 +02:00
Rok Mandeljc 814e781026 user32: Updated Slovenian translation. 2008-04-07 21:40:25 +02:00
Alexandre Julliard cf4c2e0b54 user32: Fix list_window_parents when run in the desktop process. 2008-04-07 20:34:24 +02:00
Francois Gouget 8a18e0e43a Assorted spelling fixes. 2008-04-07 13:36:18 +02:00
Alexandre Julliard d0e1dd84b2 user32: Fix a few ShowWindow todo tests. 2008-04-04 18:22:40 +02:00
Lei Zhang 4bc0cd60cf user32: Use a bogus wildcard in listbox test, change wildcard string to a const. 2008-04-04 11:05:25 +02:00
Maarten Lankhorst 70a6495a31 user32: Implement BroadcastSystemMessage. 2008-04-03 12:00:02 +02:00
Lei Zhang 376e45429c user32: Correctly handle VK_RETURN for edit controls with ES_WANTRETURN style. 2008-04-03 11:27:21 +02:00
Lei Zhang 08a4d2afc2 user32: Dialog should ignore WM_KEYDOWN messages if it gets DLGC_WANTCHARS. 2008-04-03 11:27:14 +02:00
Lei Zhang 1d1f1373af user32: Add more edit dialog tests. 2008-04-03 11:26:59 +02:00
Vitaliy Margolen 9faf7e3586 winex11drv: Distinguish left and right keys for shift, ctrl and alt. 2008-04-02 11:14:54 +02:00
Alexandre Julliard bd09340cf2 user32: Don't start explorer.exe on non-visible window stations. 2008-03-31 17:26:42 +02:00
Vitaliy Margolen a28b86a78e user32: Properly translate keyboard left/right-shift, alt, ctrl keys hardware messages. 2008-03-31 15:13:06 +02:00
Andrew Talbot c9566d556c user32: Void functions should not return a value. 2008-03-31 12:14:05 +02:00
Marcus Meissner 22facc67d2 user32/tests: Mark unsigned entitities as unsigned. 2008-03-28 14:49:17 +01:00
Vitaliy Margolen 5b690b0885 Update Russian translations. 2008-03-28 09:53:44 +01:00
Michael Stefaniuc 4174053fbc user32: About dialog cosmetic fixes for the Romanian translation too. 2008-03-28 09:51:06 +01:00
Lei Zhang bab3d82bcf user32: Add more DrawText tests. 2008-03-28 09:50:32 +01:00
Lei Zhang 0fac05b977 user32: Handle WM_CHAR messages better in edit controls. 2008-03-28 09:50:14 +01:00
Lei Zhang 5d6bf737db user32: Add more dialog with edit control tests. 2008-03-28 09:50:00 +01:00
Lei Zhang 1560203215 user32: Make an edit test more readable. 2008-03-28 09:49:47 +01:00
Dmitry Timoshkov 854413e5cf user32: Add a defwinproc flag when appropriate. 2008-03-27 17:47:44 +01:00
Alexandre Julliard 7dfc5184e0 user32: Cosmetic fixes to the About dialog. 2008-03-27 13:47:57 +01:00
Dmitry Timoshkov 113f2c9dbb user32: Add a test for combobox navigation with arrow keys, make it pass under Wine. 2008-03-27 11:06:02 +01:00
Michael Stefaniuc c68a8963c8 user32: Add the Romanian translation. 2008-03-27 11:05:32 +01:00
Alexandre Julliard f29b5757d5 user32: Allow arbitrary text size for loaded strings in message boxes. 2008-03-26 23:38:36 +01:00
Lei Zhang 41ea8f0e8a user32: Tweak how the edit control handles WM_GETDLGCODE. 2008-03-26 12:09:36 +01:00
Marcus Meissner a0c18ce784 user32/tests: Fix uninitialized struct component. 2008-03-24 20:41:45 +01:00
Alexandre Julliard 549f7c91b4 user32: Clamp the mouse position to the window rectangle when starting a window resize. 2008-03-24 18:01:02 +01:00
Alexandre Julliard 635544e20f user32: Make sure we set menu capture to a window that is visible. 2008-03-24 17:59:58 +01:00
Marcus Meissner 57384b7a1c user32/tests: Skip checks if pre-condition does not match. 2008-03-24 13:26:45 +01:00
Vitaliy Margolen d8391a4a46 user32: Fix F1 message sequence. 2008-03-24 11:35:30 +01:00
Reece Dunn 56b2ab241e user32: Fixed the HiliteMenuItem tests to pass on Windows 9x. 2008-03-22 11:14:07 +01:00
Herve Chanal 9188302b70 user32: A nicer icon for oic_winlogo. 2008-03-21 18:36:23 +01:00
Alexandre Julliard fad9b692cb user32/tests: Flush events during the mouse button tests. 2008-03-21 11:29:18 +01:00
Dmitry Timoshkov 0506c341ac user32: Increase an initial buffer size from 32 to 128 hwnds for enumerated children. 2008-03-20 19:51:55 +01:00
Andrew Talbot 6e1829fc62 user32: Assign to structs instead of using memcpy. 2008-03-20 14:27:34 +01:00
Rob Shearman 076c6fb550 user32: Handle the undocumented behaviour in DefWindowProc for WM_NCACTIVATE that causes the nonclient area not to be redrawn.
If the lParam is 0xffffffff then the nonclient area is not redrawn.
2008-03-19 11:18:36 +01:00
Alexandre Julliard 34fe91bf2b user32: Implemented EnumDesktopWindows. 2008-03-19 11:13:46 +01:00
Reece Dunn 2cab7ff2c7 user32: Improve the HiliteMenuItem tests so they reflect actual behaviour on Windows. 2008-03-18 11:44:09 +01:00
Andrew Riedi 927875390d user32: Move the bitmap header check as far up as possible.
Based on a patchset by Henri Verbeet.
2008-03-18 11:44:09 +01:00
Reece H. Dunn efd0b9ae7a user32: HiliteMenuItem fails if an invalid window handle is passed to it. 2008-03-17 14:53:12 +01:00
Maarten Lankhorst fd69ababec user32: Fix enumeration for EnumWindowStations and EnumDesktops. 2008-03-15 11:37:19 +01:00
Clinton Stimpson 05a8974e95 user32: Test processing of expose events. 2008-03-15 11:21:44 +01:00
Jason Edmeades 78d0940e21 user32: Fix MessageBox button contents and ordering. 2008-03-14 11:22:00 +01:00
Alexandre Julliard dc26f27835 winex11: Moved support for window moving/resizing back to user32. 2008-03-12 15:01:24 +01:00
Alexandre Julliard b9dee8efa7 user32: Add a SetCapture function to the driver interface. 2008-03-12 14:55:28 +01:00
Alexandre Julliard 4e129f88d0 user32: Add a helper function to set the capture window. 2008-03-12 14:54:03 +01:00
Christopher Berner 9978cc9c56 user32: Make LoadStringW pass tests. 2008-03-11 15:30:15 +01:00
Paul Vriens 470a0a0cae user32/tests: Use A-call. 2008-03-10 11:22:38 +01:00
Paul Vriens 58665f08d1 users32/tests: Win9x doesn't like FILE_ALL_ACCESS. 2008-03-10 11:22:34 +01:00
Alexandre Julliard b7d103b634 user32: Force the window position to be on-screen in SetWindowPlacement. 2008-03-07 11:01:07 +01:00
Rob Shearman 38a541186a user32: Add test for calling CreateDesktop on already created desktop name. 2008-03-06 17:43:16 +01:00
Alexandre Julliard b383690f52 user32: Added stubs for Cascade/TileChildWindows. 2008-03-05 19:22:23 +01:00
Alexandre Julliard a5b887a8c2 user32: Moved Cascade/TileChildWindows16 to wnd16.c. 2008-03-05 19:20:43 +01:00
Alexandre Julliard d6a17d2c93 user32/tests: Make the initial timeout longer in flush_events() for machines with slower round-trip times. 2008-03-05 16:48:04 +01:00
Francois Gouget c099b40509 user32/tests: Don't use 0x55 to avoid any confusion when running with +heap. 2008-03-05 12:18:11 +01:00
Francois Gouget e27922ddf5 user32/tests: Add the trailing '\n' to a couple of ok() calls. 2008-03-05 12:18:05 +01:00
Rob Shearman 48000893f9 makefiles: Simplify the use of the IMPORTLIB variable in the DLL makefiles.
Only specify the root to keep platform-specifics out of the individual 
DLL makefiles.
2008-03-04 20:55:01 +01:00
Alexandre Julliard e6a3d80828 user32: Store the window placement information directly in the main window structure. 2008-03-04 20:45:40 +01:00
Alexandre Julliard accfce21d3 user32: Fix a couple of message test failures. 2008-03-04 20:01:41 +01:00
Alexandre Julliard 8ac29dd4a8 user32/tests: Fix most message tests to pass on Vista. 2008-03-04 20:00:13 +01:00
Alexandre Julliard 28d2930074 user32: Reimplement LoadStringA to avoid memory allocations and to pass the tests. 2008-03-03 20:06:54 +01:00
Christopher Berner 4b130aa0b0 user32/tests: Conformance tests for LoadStringW and LoadStringA. 2008-03-03 20:06:22 +01:00
Alexandre Julliard 9ac7f20514 user32/tests: Skip tests instead of crashing if global hook cannot be set. 2008-03-03 17:51:42 +01:00
James Hawkins c29c740de0 janitorial: Remove links to any microsoft site. 2008-03-01 12:17:10 +01:00
Divan Burger dab0c65fe4 user32: Correct the button sizes of the caption bar. 2008-02-29 20:29:19 +01:00
Alexandre Julliard bb27b37599 user32: Moved win.h to the user32 directory. 2008-02-29 17:21:04 +01:00
Alexandre Julliard d2b6087999 user32/tests: Flush events after showing/hiding a window to avoid z-order race conditions. 2008-02-28 19:56:38 +01:00
Alexandre Julliard c0e10d2b97 user32: Hide the icon title when hiding a window. 2008-02-28 17:01:30 +01:00
Alexandre Julliard 936ab3a644 user32: Moved the ShowWindow implementation from winex11 back to user32. 2008-02-28 17:01:30 +01:00
Alexandre Julliard 1642fbcbc2 user32: Moved the DCE support from winex11 back to user32.
Window and class DCEs are now allocated lazily.
2008-02-25 15:59:19 +01:00
Alexandre Julliard 4273a8ab86 user32: Simplify the window structure creation. Get rid of the unused clsStyle field. 2008-02-25 15:55:17 +01:00
Rob Shearman e154d3b29e user32: Fix the number of characters passed to GetClassNameW in ClassTest. 2008-02-25 13:31:52 +01:00
Stefan Leichter 684a5b4bab user32: Added stub for GetMouseMovePointsEx. 2008-02-25 13:27:49 +01:00
Stefan Leichter 0640dbb620 user32: Fix a test of GetMouseMovePointsEx. 2008-02-25 13:27:38 +01:00
Anatoly Lyutin a871830dd3 user32: Fix return value in ShowScrollBar according with test. 2008-02-25 13:26:52 +01:00
Anatoly Lyutin b6241e4ad8 user32: Added some tests for scrollbar. 2008-02-25 13:26:12 +01:00
Stefan Leichter ebbc1e781c user32: Fix a test of GetMouseMovePointsEx failing on platforms winxp and win2k3. 2008-02-22 11:53:19 +01:00
Huw Davies 503009cf37 user32: Add a test for CS_OWNDC windows that are created invisible. 2008-02-21 20:15:48 +01:00
Alexandre Julliard 55165f87cc user32: Pass the modified SetWindowPos flags to the set_window_pos server request. 2008-02-20 14:41:09 +01:00
Andrew Riedi 5b3f53baf9 user32: Test LoadImage() to load an icon as a cursor. 2008-02-20 12:36:06 +01:00
Dmitry Timoshkov 9f23c3f9d5 user32: Add a z-order test for owned popup windows. 2008-02-20 12:21:41 +01:00
Stefan Leichter 9b478283c5 user32: Add some tests for GetMouseMovePointsEx. 2008-02-19 20:24:12 +01:00
Peter Oberndorfer a73a0aa613 user32: Fix caption bar being drawn 1 pixel too high. 2008-02-19 20:20:34 +01:00
Alexandre Julliard 125793df0e winex11: Move the raising of windows on SetFocus to the X11 driver where it belongs. 2008-02-18 17:22:51 +01:00
Alexandre Julliard 8f15dd4d4e user32: Rewrite SWP_DoOwnedPopups to take into account topmost windows. 2008-02-18 15:00:38 +01:00
Maarten Lankhorst c6e61fbf89 user32: Fix a message test that would only pass on wine. 2008-02-18 14:11:17 +01:00
Marcus Meissner f09f03a723 user32: Handle error returns from ImmGetCompositionString. 2008-02-18 12:41:37 +01:00
Rob Shearman 386427e739 user32: Fix MonitorFromRect to cope with the absence of the MONITOR_DEFAULTTONEAREST flag.
Previously, the code would return any monitor found, regardless of 
whether it intersected the given rect or was the nearest monitor. This 
is fixed by adding a new flag that causes monitor_enum to only find the 
nearest monitor if MONITOR_DEFAULTTONEAREST is specified.

Also add a trace for MonitorFromWindow, since it is called in many 
places within user32 and so can't be traced using a relay trace.
2008-02-16 14:58:14 +01:00
Reece H. Dunn d9c2a91f8b user32: Improve the combo tests to check when the CBN_SELCHANGE notification is sent. 2008-02-15 11:35:09 +01:00
Rob Shearman 3d55b590b5 user32: Fix incorrect character count passed to GetWindowTextW in ICONTITLE_Paint. 2008-02-15 11:04:28 +01:00
Dmitry Timoshkov 3d421a4783 user32: Use custom window procs instead of DefWindowProcA/W in the IsWindowUnicode test. 2008-02-15 10:13:27 +01:00