Alexandre Julliard
2b1c4ba138
user32/tests: Fix some test failures on win9x.
2008-08-05 14:09:33 +02:00
Alexandre Julliard
13645a7b30
user32/tests: Don't check last error on success in the broadcast tests.
2008-08-05 14:09:20 +02:00
Alexandre Julliard
4fce63eb74
user32/tests: Fix the listbox LB_DIR tests when directories are present.
2008-08-04 23:04:53 +02:00
Andre Wisplinghoff
7abfbd085c
user32: Make dde test use skip function.
2008-08-01 11:18:11 +02:00
Alexandre Julliard
96f352b86f
user32/tests: Fix some message test failures on various Windows versions.
2008-07-31 17:16:22 +02:00
Alexandre Julliard
4c431197ca
user32: Add an entry point for ShowWindow to the driver interface.
2008-07-30 16:13:28 +02:00
Alexandre Julliard
cd337174aa
user32: Return a proper rectangle from WINPOS_MinMaximize.
2008-07-30 16:05:09 +02:00
Alexandre Julliard
ba644e9c31
user32/tests: Fix some tests on Win9x.
2008-07-30 13:50:00 +02:00
Hongbo Ni
aaf67e9e73
user32: Implement WM_UNICHAR for edit control.
2008-07-29 14:09:23 +02:00
Alexandre Julliard
70a9d70ba5
user32/tests: Make sure the bitmap info passed to CreateDIBSection contains a valid color table.
2008-07-22 17:56:12 +02:00
Alexandre Julliard
406f5b2545
user32: Fix MapWindowPoints behavior in the process that owns the desktop window.
2008-07-22 15:31:04 +02:00
Reece Dunn
115b7492be
user32: Fixed building the tests with the Vista SDK.
2008-07-22 13:20:27 +02:00
Huw Davies
80fe2faeb6
user32: Don't send the menu clicks if we can't retrieve the item rect.
2008-07-22 12:31:11 +02:00
Huw Davies
bce23d7edb
user32: Don't access pConv after it's been freed.
2008-07-21 15:05:01 +02:00
Huw Davies
bf89330d14
user32: Don't read past the end of a global memory block.
2008-07-18 11:05:37 +02:00
Lei Zhang
b3f4091b47
user32: Clamp newly created windows to the minimum window size.
2008-07-17 13:31:40 +02:00
Lei Zhang
ffd66dc6ab
user32: Add a test for SetWindowPos.
2008-07-17 13:31:39 +02:00
Andrew Talbot
afc95d4ac3
user32: Remove unneeded address-of operators from array names.
2008-07-14 11:50:19 +02:00
Huw Davies
64acbb55b4
user32: sizeof DDEPOKE and DDEDATA is six, which is probably not what is expected, so use offsetof instead.
2008-07-08 20:37:58 +02:00
Alexandre Julliard
2734fb44e0
user32: Properly update position after dragging an iconic window.
2008-07-07 15:51:30 +02:00
Andrew Talbot
5806e4b504
user32: Remove unneeded address-of operators from function names.
2008-07-07 12:31:54 +02:00
Dylan Smith
2f1c7b1610
user32: Increased area for scrolling via mouse drag outside scrollbar.
...
When dragging the scrollbar thumb with the mouse, the mouse is able to
move away from the scrollbar and keep scrolling so long as it isn't too
far away from the scrollbar. This makes it easier to quickly scroll
with the mouse.
All that this patch changes is the distance that the mouse can be moved
away from the scrollbar before it is consider outside of the scrollbar
and returns to its original position. The distances are proportional to
the size of the scrollbar.
2008-07-04 20:25:48 +02:00
Dylan Smith
da0175ba71
comctl32: Added tests to show a ComboBoxEx bug caused by incorrect focus change.
...
Certain WM_LBUTTONDOWN & WM_LBUTTONUP events should change focus to the
ComboBox (a child of ComboBoxEx), but instead the focus was set to the
Edit control.
2008-07-04 19:43:03 +02:00
Alexandre Julliard
0f9484a124
server: Set the visible rect in the set_window_pos request again.
...
This essentially reverts 2f69329a37
.
We really need the visible rect to be set atomically with the rest of
the window position info.
2008-07-03 20:33:12 +02:00
Alexandre Julliard
89a3bd0c15
user32: Split the SetWindowPos driver backend in WindowPosChanging/Changed.
...
This is needed to allow updating the visible rect before invalidating
the DCEs.
2008-07-02 15:40:10 +02:00
James Hawkins
13451c3b2a
user32: Fix a few failing tests in win2k.
2008-07-01 13:45:38 +02:00
Dmitry Timoshkov
3a934e7323
user32: Add a test for focus behaviour on minimize/restore.
2008-06-27 12:32:18 +02:00
Dan Hipschman
50b98a2946
user32: Redefine internal pop-up tracking flags to avoid conflicts.
...
These internal flags conflict with the Win32 API flags TPM_RECURSE,
TPM_RIGHTBUTTON, and TPM_CENTERALIGN respectively, which are all stored
in the same flag UINT.
2008-06-27 11:10:27 +02:00
Anatoly Lyutin
2aba9f7fcb
user32/tests:c Add msg tests for SetActiveWindow().
2008-06-26 13:30:39 +02:00
Vitaly Lipatov
c36b6f888e
user32: Add test for SPI_{GET/SET}WHEELSCROLLCHARS for SystemParametersInfo.
2008-06-26 13:16:12 +02:00
Vitaly Lipatov
7b1765c1cc
user32: Implemented processing SPI_{GET/SET}WHEELSCROLLCHARS for SystemParametersInfo.
2008-06-26 13:16:07 +02:00
Vitaly Lipatov
dfdb64c121
user32: Implemented processing SPI_{GET/SET}SNAPTODEFBUTTON for SystemParametersInfo.
2008-06-26 13:15:51 +02:00
Alexandre Julliard
6536868d07
user32: Make sure that IsWindowVisible returns FALSE for HWND_MESSAGE windows.
2008-06-25 15:49:44 +02:00
Alexandre Julliard
612c010431
user32: Add support for finding HWND_MESSAGE windows in FindWindowEx.
2008-06-25 15:30:22 +02:00
Alexandre Julliard
9b9dbb20f2
user32/tests: Add some more tests for HWND_MESSAGE windows.
2008-06-25 15:24:02 +02:00
Alexandre Julliard
782403085f
user32: Treat the top-level message window as a desktop window.
2008-06-25 15:20:26 +02:00
Alexandre Julliard
1abbe0dfe3
user32: Use the top-level message window as parent for HWND_MESSAGE windows.
2008-06-25 15:10:42 +02:00
Alexandre Julliard
6b36e2131d
server: Also return the top-level message window in the get_desktop_window request.
2008-06-25 14:44:06 +02:00
Alexandre Julliard
d71303e91c
user32: Add support for a top-level message parent window in parallel to the desktop window.
2008-06-25 14:44:06 +02:00
Alexandre Julliard
c9370c44ba
user32: Register the builtin 'Message' window class.
2008-06-25 14:44:06 +02:00
Dmitry Timoshkov
bb4e7832b4
user32: Make test_SetForegroundWindow() the last message test.
2008-06-24 12:45:16 +02:00
Dan Kegel
81fee5208b
user32: Fix buffer length thinko in dde_client.c.
2008-06-23 14:09:17 +02:00
Joris Huizer
85ac6a388b
user32/tests: Copy/paste fix.
2008-06-23 12:45:49 +02:00
Anatoly Lyutin
f567cb5878
user32/tests: Add two tests for ShowWindow(SW_RESTORE).
2008-06-23 12:45:42 +02:00
Anatoly Lyutin
8fb730543d
user32: Return at the end of processing (cmd == SW_HIDE).
2008-06-21 11:36:40 +02:00
Paul Vriens
5191f0f2fd
user32/tests: Skip tests if functions are not implemented.
2008-06-21 11:14:20 +02:00
Roy Shea
6cfc6bd4f3
user32: Initialize hdd HDDEDATA to NULL (valgrind).
2008-06-19 12:34:50 +02:00
Andrew Talbot
aceb12265f
user32: Dangling pointer fix.
2008-06-18 16:15:12 +02:00
Dmitry Timoshkov
2a98f9b0b0
kernel32: Make GetModuleFileName set ERROR_INSUFFICIENT_BUFFER like win2k3 and vista do.
2008-06-18 15:21:49 +02:00
Dmitry Timoshkov
bbd8ae4322
user32: Add a test for MNS_NOTIFYBYPOS, make it pass under Wine.
2008-06-18 15:21:49 +02:00
Francois Gouget
9d5d06cf45
user32: Remove spaces before '...'.
2008-06-12 12:03:41 +02:00
Alexandre Julliard
d93fa6a1e7
user32/tests: Fix a window style check on Vista.
2008-06-10 13:04:35 +02:00
Alexandre Julliard
90d46e3010
user32/tests: Fix formatting of a trace.
2008-06-10 11:34:40 +02:00
Francois Gouget
39cb432b68
Fix the resources to remove extraneous spaces in '...'.
2008-06-05 15:53:05 +02:00
Alexandre Julliard
14194452a8
user32/tests: Fix the dde test race correctly this time.
2008-06-05 12:43:17 +02:00
Alexandre Julliard
69414975e1
user32/tests: Abstract the printing of minmax info and do it all on one line.
2008-06-04 12:34:53 +02:00
Alexandre Julliard
3cc1270f99
user32/tests: Don't add a newline before dumping the flag values.
2008-06-04 12:34:27 +02:00
Vitaliy Margolen
e3fc64aaec
user32: Fix input tests failing on WinXP+.
2008-06-03 11:10:37 +02:00
Alexandre Julliard
e0c35a8582
user32/tests: Fix race condition in DDE server startup.
2008-06-02 14:13:01 +02:00
Dmitry Timoshkov
e6d9fc65a2
user32: CBT hook doesn't send window messages.
2008-05-30 11:05:16 +02:00
Alexandre Julliard
2c4a3c8ad6
user32: We no longer need to ensure that the BeginPaint window belongs to the current thread.
2008-05-30 10:03:30 +02:00
James Hawkins
2b19e35707
user32: win2k3's GetWindowModuleFileName does return ERROR_INSUFFICIENT_BUFFER.
2008-05-30 09:55:02 +02:00
James Hawkins
333f83ffd7
user32: Fix two tests that fail in win2k3 and above.
2008-05-29 12:12:47 +02:00
Alexandre Julliard
a6df5e7e1d
user32: Check for wraparound in the initial window coordinates.
2008-05-28 21:32:50 +02:00
Paul Vriens
c6fd6b6ab8
user32/tests: Prevent writing to not allocated memory.
2008-05-28 19:32:29 +02:00
Paul Vriens
d2d8d71e6b
user32/tests: Run tests on win95 again.
2008-05-28 19:32:25 +02:00
Michael Stefaniuc
3ca74bcbbf
user32: Fix the Chinese translations.
2008-05-28 11:31:01 +02:00
Igor Tarasov
356c47e89e
user32: Further implementation of MNS_NOTIFYBYPOS.
2008-05-28 11:30:01 +02:00
Dmitry Timoshkov
914cb22868
user32: Add the tests for GetWindowModuleFileName.
2008-05-27 12:57:29 +02:00
Dmitry Timoshkov
90f0795971
user32: Implement GetWindowModuleFileName.
2008-05-27 12:57:23 +02:00
Alexandre Julliard
688febb8ce
user32: Return reasonable values in GetWindowPlacement for the desktop window.
2008-05-22 17:04:22 +02:00
James Hawkins
458c729251
user32: Fix a test that fails in almost all reports.
2008-05-22 11:42:47 +02:00
Nikolay Sivov
87bb1cbcdc
user32: Correct termination of returning string in Text_Ellipsify.
2008-05-21 20:16:26 +02:00
Ken Thomases
c2bc0e21a2
winex11: Bias MapVirtualKeyEx(MAPVK_VSC_TO_VK) against numpad vkeys.
...
The scan codes for the numeric keypad keys and those for the arrow keys and
keys like Home, End, etc. often match (ignoring the extended key bit).
However, if you map from one of those scan codes to a vkey, Windows reliably
prefers the non-numpad vkey.
2008-05-21 14:26:13 +02:00
Alexandre Julliard
79b64fdc83
user32: Add an ASCII window procedure for scrollbars.
2008-05-21 11:44:05 +02:00
Alexandre Julliard
0528a2b660
user32: Support creating cursors and icons from DIB section bitmaps.
2008-05-21 11:39:38 +02:00
James Hawkins
c659ad36e8
user32: Fix the BSM_ALL_RECIPS test flag.
2008-05-21 11:37:02 +02:00
Andrew Talbot
2956605d61
user32: Remove unused function.
2008-05-21 11:36:53 +02:00
Alexandre Julliard
c362081a79
user32: Moved the class extra bytes check to catch uninitialised data sooner.
2008-05-19 23:10:01 +02:00
Mikołaj Zalewski
14a42f802d
Make Swedish use SUBLANG_NEUTRAL.
2008-05-19 16:09:13 +02:00
James Hawkins
47711cc62e
user32: Fix a few tests that fail in win2k3.
2008-05-19 13:36:08 +02:00
Dmitry Timoshkov
47b4960129
user32: Make ChangeDisplaySettingsA/W reset dmDriverExtra to 0 like XP and Vista do.
2008-05-19 13:35:48 +02:00
Alexandre Julliard
a795f36af7
winhelp.exe: Renamed to winhlp32.exe.
2008-05-13 18:43:27 +02:00
Dmitry Timoshkov
954d6e2ed9
user32: Add tests for painting minimized/clipped windows.
2008-05-13 10:40:24 +02:00
Alexandre Julliard
ad0e82e136
user32: Invalidate the DCE in SetWindowPos before we attempt to move the window bits.
2008-05-12 13:59:13 +02:00
Alexandre Julliard
30c0639b5a
server: Crop the invalidate region against the rectangles of all parents.
2008-05-12 12:44:10 +02:00
Alexandre Julliard
bc25119c6e
server: Also crop the update region of children when moving a window.
2008-05-12 12:44:10 +02:00
Alexandre Julliard
e02969ddf0
server: When moving/resizing a window crop the update region against the new rectangle of the parents.
2008-05-12 12:41:17 +02:00
Jens Albretsen
2bae809881
user32: Danish spelling fixes.
2008-05-12 11:43:10 +02:00
Dmitry Timoshkov
939c7f9c6b
user32: Make sure that we send proper notifications in all cases.
2008-05-12 11:42:54 +02:00
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