Detlef Riekenberg
609a3998f7
user32/tests: Fix crash on win9x in the dde test.
2008-11-06 11:09:36 +01:00
Michael Stefaniuc
fb11803d19
user32: Remove superfluous casts of void pointers.
2008-11-05 10:55:46 +01:00
Michael Stefaniuc
3d6e19d48a
user32: Do not cast zero.
2008-11-04 11:26:24 +01:00
Michael Stefaniuc
706df65c5a
user32: Do not cast NULL.
2008-11-03 13:40:27 +01:00
Alexandre Julliard
929dcfaad5
user32: Add a bunch of tests for GetQueueStatus and GetMessage combinations.
2008-10-29 13:29:33 +01:00
Alexandre Julliard
7804129e68
user32: Use a local buffer in peek_message to save a server call for small buffer sizes.
2008-10-29 13:29:33 +01:00
Alexandre Julliard
06dbbdd09b
user32: Specify the new queue mask separately from the PeekMessage flags.
2008-10-29 13:29:33 +01:00
Alexandre Julliard
641cc6402f
user32: Move thread info setting and WH_GETMESSAGE call into peek_message.
2008-10-29 13:29:33 +01:00
Alexandre Julliard
142708face
user32: Move handling of internal messages into peek_message.
2008-10-29 13:29:33 +01:00
Dmitry Timoshkov
8f1d058b9d
user32: Handle all kinds of values returned by WIN_GetPtr.
2008-10-29 11:52:40 +01:00
Detlef Riekenberg
de267347c5
user32/tests: Avoid crash on win9x.
2008-10-27 13:49:21 +01:00
Dmitry Timoshkov
fc48f7743d
user32: Make ToAscii(Ex) and ToUnicode(Ex) prototypes match PSDK.
2008-10-27 12:38:57 +01:00
Michael Stefaniuc
4fc84eaf5a
user32: HGDIOBJ is interchangeable with other handle types; no casts are needed.
2008-10-27 11:29:54 +01:00
Dmitry Timoshkov
d6544f041b
user32: Fix a typo.
2008-10-20 12:23:41 +02:00
Francois Gouget
72cf4f3b0d
Assorted spelling fixes.
2008-10-20 11:37:27 +02:00
Alexandre Julliard
5d9d8f854f
user32: Convert source files to utf-8.
2008-10-18 19:21:00 +02:00
Alexandre Julliard
881e30b4d1
user32/test: Fix a couple of message test failures on Windows.
2008-10-17 19:05:11 +02:00
Dmitry Timoshkov
922dc31224
user32: Add a test for fullscreen window sizing, make it pass under Wine.
...
It appears that Windows doesn't always restrict the window size by
the monitor work area. The tests pass under XP SP3 and Win98.
2008-10-17 11:42:31 +02:00
Aric Stewart
e0edc233af
user32: Update DrawText tests to cover behavior differences on win98.
2008-10-16 11:40:02 +02:00
Aric Stewart
7b9e827a75
user32: Make sure our vertical line count is at least 1 even if there is an oversized font in the edit control.
2008-10-15 16:45:56 +02:00
Lei Zhang
ec91536ec9
user32: Send messages for edit control context menu operations.
2008-10-15 14:02:04 +02:00
Aric Stewart
48ad706c08
user32: DrawText handling of 0 counts with string, empty strings and -1 counts with empty string and NULL strings.
2008-10-14 13:41:57 +02:00
Aric Stewart
8b9ebc30c9
user32: In DrawTextW/A make sure to properly initialize the cbSize of DRAWTEXTPARAMS.
2008-10-14 13:41:56 +02:00
Muneyuki Noguchi
2c87922caf
user32: Convert Japanese resource to UTF-8.
2008-10-13 11:41:24 +02:00
Paul Vriens
4ac4401c41
user32/tests: Don't crash on NT4.
2008-10-09 13:14:44 +02:00
Paul Vriens
cf829959b1
user32/tests: Fix failures on W2K and below.
2008-10-07 12:12:09 +02:00
Paul Vriens
63f15d4400
user32/tests: Run tests on win95 again.
2008-10-07 12:12:04 +02:00
Dylan Smith
936191887e
user32: Converted rcScrollBar to screen coordinates.
2008-10-06 13:54:44 +02:00
Dmitry Timoshkov
53160b600f
user32: Print the expected and received rectangles.
2008-10-06 13:48:14 +02:00
Aric Stewart
a7e48d7d98
user32/tests: GetMenuItemCount returns INT so check for -1 (Coverity 542).
2008-10-02 10:30:42 -05:00
Aric Stewart
6aa6fc8a46
user32/tests: GetMenuItemCount returns an INT which can be -1 (Coverity 543).
2008-10-02 10:30:33 -05:00
Dimitrie O. Paun
e209932069
user32: Fix a noisy FIXME.
2008-10-01 09:47:31 -05:00
Vitaliy Margolen
d83fc43e5e
user32/tests: Move shell test to the end - killing explorer affects lots of tests.
2008-09-30 10:14:22 -05:00
Vitaliy Margolen
cc5ff833b3
user32/tests: Make it easier to identify failed tests.
2008-09-29 17:32:45 -05:00
Vitaliy Margolen
311fea4ec4
user32/tests: Use empty_message_queue with timeouts.
2008-09-29 17:32:30 -05:00
Muneyuki Noguchi
bcff2eb288
user32: Use "MS Shell Dlg" 9 in Japanese resources.
2008-09-25 13:28:15 +02:00
Alexandre Julliard
e0e91cf7f4
user32/tests: Fix the listbox tests on Win9x and NT4.
2008-09-24 15:39:03 +02:00
Alexandre Julliard
6345c938b2
user32/tests: Fix some input test failures.
2008-09-24 15:37:38 +02:00
Alexandre Julliard
7e1bc58d76
user32/tests: Fix the winstation tests on NT4.
2008-09-24 14:51:05 +02:00
Alexandre Julliard
d9e26cb9d4
user32/tests: Fix more message test failures on NT4 and XP.
2008-09-24 13:11:26 +02:00
Vincent Povirk
a2742978d0
user32: Handle undocumented WM_POPUPSYSTEMMENU message.
2008-09-24 12:52:28 +02:00
Alexandre Julliard
17c6542cfe
user32/tests: Fix some more message test failures.
2008-09-22 12:14:56 +02:00
Alexandre Julliard
2193a70137
user32/tests: Fix a few more message test failures.
2008-09-19 12:07:18 +02:00
Paul Chitescu
da012ed8e7
user32: Stub for LockWorkStation.
2008-09-17 18:11:11 +02:00
Alexandre Julliard
392387400e
user32/tests: Fix some test failures on win9x.
2008-09-17 16:29:32 +02:00
Alexandre Julliard
b40628825a
user32/tests: Cope with last error behavior on Vista.
2008-09-17 16:24:10 +02:00
Alexandre Julliard
343d2420fc
user32/tests: Fix some test failures on XP.
2008-09-17 14:05:06 +02:00
Alexandre Julliard
e4cba25ac7
user32: Implemented UpdateLayeredWindow and UpdateLayeredWindowIndirect.
2008-09-16 16:30:19 +02:00
Alexandre Julliard
aef7723c3e
user32: Don't reinitialize the window placement even if the window rect is empty.
2008-09-16 16:29:26 +02:00
Alexandre Julliard
01584fb318
user32/tests: Fix a number of message test failures on various Windows versions.
2008-09-16 16:27:47 +02:00
Alexandre Julliard
6337ba3ca0
user32/tests: Fix a test that fails on all Windows versions.
2008-09-15 11:30:13 +02:00
Alexandre Julliard
b2f34b3587
user32/tests: Ignore some more messages.
2008-09-15 11:29:58 +02:00
Alexandre Julliard
9fb76ddd53
user32: Add a SetLayeredWindowAttributes driver entry point.
2008-09-12 15:43:27 +02:00
Alexandre Julliard
d476761f91
user32/tests: Added some tests for Get/SetLayeredWindowAttributes.
2008-09-12 15:31:05 +02:00
Alexandre Julliard
05b4181cac
server: Implemented the server side of Get/SetLayeredWindowAttributes.
2008-09-12 15:30:47 +02:00
Alexandre Julliard
2f11213168
user32: Notify the user driver about window extended style changes too.
2008-09-12 14:55:07 +02:00
Juan Lang
6049ad74e9
user32: Don't crash if passed a non-scrollbar HWND. Fixes Coverity id 265.
2008-09-12 11:40:42 +02:00
Dmitry Timoshkov
077cd6a9f5
user32: Fix the work area test to pass on Windows when the taskbar is on top.
2008-09-11 11:47:12 +02:00
Dmitry Timoshkov
c707e7d9a6
user32: Implement SystemParametersInfo(SPI_GETWORKAREA) properly.
2008-09-11 11:47:07 +02:00
Dmitry Timoshkov
5587387c9f
user32: Make GetMonitorInfoW print the monitor properties.
2008-09-11 11:46:19 +02:00
Juan Lang
1a5374065f
user32: Return error if memory allocation fails. Fixes Coverity id 115.
2008-09-11 11:44:15 +02:00
Alexandre Julliard
d3f4fb4929
user32: Fix DeferWindowPos to work on windows belonging to other processes.
2008-09-09 11:46:18 +02:00
Vincent Povirk
3c4f44d1af
user32: Use the correct bitmap location for MNS_CHECKORBMP.
2008-09-08 12:49:12 +02:00
Paul Vriens
3f6e4adf9d
user32/tests: Win9x needs a threadid for CreateThread.
2008-09-08 12:49:12 +02:00
Michael Stefaniuc
a38d47f27f
user32/tests: Remove unreachable break after return (Smatch).
2008-09-08 12:31:56 +02:00
Jeff Latimer
16f38d7481
user32/tests: Add more A and W test combinations for dde.
2008-09-05 10:48:47 +02:00
Jeff Latimer
0c5fff5ea8
user32/tests: Tests for a W interface connection adding some todo_wine tests.
2008-09-05 10:48:33 +02:00
Jeff Latimer
5ad6ef53a2
user32: DdeConnect causes 2 XTYP_CONNECT_CONFIRM messages to flow. Delete one.
2008-09-05 10:48:15 +02:00
Jeff Latimer
4c3e55dd88
user32/tests: Test infrastructure for testing ddeml end to end.
2008-09-05 10:48:03 +02:00
Jeff Latimer
57d1059bbb
user32: Make some DDE traces more meaningful.
2008-09-05 10:47:56 +02:00
Vincent Povirk
491e44d425
user32/tests: Don't check menu items when testing MNS_CHECKORBMP.
...
If the MNS_CHECKORBMP style is set on a menu, and the menu is checked,
the bitmap is not drawn. For the menu tests, that means we get no
WM_DRAWITEM message for an owner-drawn bitmap, and the bounding box of
the bitmap is not tested. We should leave the menu item unchecked in
this case so we can test it.
2008-09-04 12:44:13 +02:00
Jeff Latimer
a251a8f166
user32/tests: Deregister the class created by create_dde_window.
2008-09-03 14:21:44 +02:00
Francois Gouget
189ea26989
user32/tests: Add a trailing '\n' to an ok() call.
2008-09-02 13:58:41 +02:00
Hongbo Ni
11295e708f
user32: Update traditional Chinese resource.
2008-08-29 12:30:40 +02:00
Jim Cameron
2df7f6a343
user32/tests: Add a regression test for CreateIconFromResource.
2008-08-28 13:09:16 +02:00
Jim Cameron
08775c642a
user32: Fixed bug in loading .cur files.
2008-08-28 13:09:00 +02:00
Martin Profittlich
b83de4adef
user32: Make RegisterDeviceNotificationW behave likeRegisterDeviceNotificationA.
2008-08-28 11:24:48 +02:00
Aric Stewart
3f9aec17cd
user32: Add test demonstrating the WM_PAINT loop.
2008-08-27 13:21:25 +02:00
Alexandre Julliard
bcc1bb2b36
user32: Apply the SendMessage recursion counter to DispatchMessage too.
2008-08-27 13:21:24 +02:00
Hongbo Ni
adb63f9e87
user32: Convert Chinese resource to utf8.
2008-08-27 13:21:23 +02:00
Dmitry Timoshkov
5307a75c42
user32: Partially revert 499c26ce66
.
...
This part of the patch really has nothing to do with an idea the patch
aimed to achieve.
2008-08-27 13:21:20 +02:00
Dmitry Timoshkov
dddec81dfb
user32: Add a test for monitor work area, fix some failures.
2008-08-27 13:21:20 +02:00
Markus Hitter
cadb885473
user32: Better reflect the current state of DrawIconEx.
2008-08-25 12:23:42 +02:00
Muneyuki Noguchi
4b8134a242
user32: Update Japanese translation.
2008-08-25 11:14:11 +02:00
Hongbo Ni
d24b6e424f
user32: Update simplified Chinese resource.
2008-08-22 10:40:33 +02:00
Andre Wisplinghoff
ea49a06934
user32: Add a test for ToUnicode.
2008-08-20 13:55:13 +02:00
Austin English
f8cd30e9e1
user32: Test what FindWindow does when window isn't found.
2008-08-20 12:47:29 +02:00
Vincent Povirk
743b5730f5
user32: Implement TPM_*ALIGN flags.
2008-08-20 12:44:36 +02:00
Jeff Latimer
b7e81d3e54
user32: Check for invalid conversation and return the correct error.
2008-08-18 17:26:46 +02:00
Jeff Latimer
544c1e5cd1
user32/tests: Add tests for for invalid DDE conditions.
2008-08-18 17:26:39 +02:00
Jeff Latimer
70ebae341d
user32: DdeClientTransaction should check that pData is not NULL for XTYP_REQUEST.
2008-08-18 17:26:19 +02:00
Jeff Latimer
04a59014f8
user32: DdeQueryString returns a NULL str if there is no handle.
2008-08-18 17:26:01 +02:00
Jeff Latimer
ec49e4179b
user32: DdeClientTransaction should return 0 in the last param for DDE_DATA.
2008-08-18 17:25:37 +02:00
Alexandre Julliard
f59540ddad
user32/tests: Fix a number of message sequence tests that could sometimes fail.
2008-08-05 14:09:33 +02:00
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
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
Dmitry Timoshkov
066c60eb31
user32: Add a couple of tests for WS_EX_TOPMOST.
2008-02-12 23:34:08 +01:00
Francois Gouget
6922075e58
user32/tests: Add the trailing '\n' to ok() calls.
2008-02-11 19:56:10 +01:00
Reece H. Dunn
01af8501b9
user32: Make the listbox tests pass in directories other than dlls/user32/tests.
2008-02-08 13:13:16 +01:00
Johan Gardell
ebe9b3c995
user32: Added support for SPI_SETMOUSESPEED in SystemParametersInfoW.
2008-02-08 11:02:16 +01:00
Alexandre Julliard
05c7174909
tests: Add a helper routine to wait for a child process and propagate its result correctly.
2008-02-07 12:56:00 +01:00
Lei Zhang
6c1cdc7186
user32: Use wine_dbgstr_rect() in traces.
2008-02-07 11:59:53 +01:00
Andrew Riedi
58d2e3df39
user32: winex11.drv has support for color cursors now.
2008-02-07 11:59:52 +01:00
Andrew Riedi
7df3ed5f44
user32: Test destroying the cursor of a parent process.
2008-02-06 12:43:53 +01:00
Bang Jun-young
9fcebb0055
user32: Fix EndMenu() to match the PSDK.
2008-02-04 14:18:20 +01:00
Michael Stefaniuc
4715dbec24
user32: Remove duplicated get_hook_proc() function.
2008-02-04 12:36:11 +01:00
Francois Gouget
5caa63cae1
user32: Fix a typo in the StretchDIBits stub name.
2008-02-04 11:11:52 +01:00
Reece H. Dunn
37c56f8946
user32: Make the edit tests pass on Vista.
2008-01-25 12:30:18 +01:00
Reece H. Dunn
d2900d42dd
user32: Make the class tests pass on Vista.
2008-01-25 12:07:25 +01:00
Reece H. Dunn
ad89ff0abf
user32: Make the clipboard tests pass on Vista.
2008-01-25 12:07:21 +01:00
Alexandre Julliard
d6f6745c9c
user32: Moved the bulk of CreateWindow and SetWindowPos from the driver back into user32.
2008-01-24 11:23:09 +01:00
Alexandre Julliard
4a753f90cf
user32: Menus should be top-most windows.
2008-01-23 21:42:46 +01:00
Dmitry Timoshkov
e5e261f104
user32: Make MapVirtualKeyEx(MAPVK_VK_TO_CHAR) behave more like in Windows.
2008-01-23 20:39:19 +01:00
Paul Vriens
7aaaad2110
user32/tests: Run full test again on win95 and NT4.
2008-01-23 12:05:42 +01:00
Andrew Talbot
3dfaef3729
user32: Remove unneeded casts.
2008-01-22 11:27:51 +01:00
Andrew Talbot
ba596d30ce
user32: Remove unneeded casts.
2008-01-22 11:27:45 +01:00
Alexandre Julliard
390ae9cc28
winex11.drv: Fix handling of strange window sizes in CreateWindow, with tests.
2008-01-22 10:16:19 +01:00
Alexandre Julliard
30d84fcd77
user32,server: Set the initial window rectangles to 0,0-0,0.
2008-01-22 10:15:38 +01:00
Christopher Berner
e59bf8c560
user32: Fixed off by one scroll bar pixels.
2008-01-16 18:04:01 +01:00
Francois Gouget
44b52b128c
Assorted spelling fixes.
2008-01-16 12:48:29 +01:00
Francois Gouget
f6fab295f3
Fix spelling error in the generated conformance test files.
2008-01-16 12:46:18 +01:00
Alexandre Julliard
7687f78f71
user32: Don't inherit stdin/stdout handles in explorer.
2008-01-14 15:50:06 +01:00
Alistair Leslie-Hughes
c3f4ad58a1
user32: Add SetProcessDPIAware stub.
2008-01-11 12:23:43 +01:00
Louis Lenders
a467feae39
user32: Add stub for GetLayeredWindowAttributes.
2008-01-10 12:11:04 +01:00
Marcus Meissner
75de624377
winex11: Set last error on enumerating display settings.
2008-01-09 13:38:03 +01:00
Gerald Pfeifer
29b8c35bbf
user32: Factor in EDIT_WM_EraseBkGnd().
2008-01-08 13:55:18 +01:00
Peter Oberndorfer
76bbd02734
user32: Remove unused lpGrayMask array.
2008-01-07 12:19:04 +01:00
Rob Shearman
91971561c1
user32: Add a stub implementation of RegisterServicesProcess.
2008-01-02 13:20:12 +01:00
Andrew Talbot
8752c6d1a5
user32: Fix a spelling typo.
2007-12-31 17:41:37 +01:00
Gerald Pfeifer
2ea16a49e8
user32: Fix type of loop variable.
2007-12-31 17:29:39 +01:00
Michael Stefaniuc
872188c1d8
user32: Remove unneeded casts.
2007-12-31 16:45:53 +01:00
Dmitry Timoshkov
e735e199ad
user32: Reimplement IsHungAppWindow.
2007-12-28 11:43:57 +01:00
Reece H. Dunn
230ca207ca
user32: Added the new Vista messages to spy.
2007-12-26 14:01:54 +01:00
Dmitry Timoshkov
78718a41c7
user32: Add a test for an invalid DEVMODE passed to ChangeDisplaySettings, make it pass under Wine.
2007-12-20 10:47:49 +01:00
Alex Villacís Lasso
4612b15fff
user32: Fix regression in DlgDirList caused by modified LB_DIR return behavior, with tests.
2007-12-19 19:36:09 +01:00
Dmitry Timoshkov
0e799c6d7b
user32: Set the edit text in a combobox only if combobox has strings.
2007-12-19 12:20:03 +01:00
Dmitry Timoshkov
9e3ab87a9c
user32: Make sure to setup clipping before any painting is done.
2007-12-19 12:19:58 +01:00
Alexandre Julliard
e94e942618
user32: Set the WSF_VISIBLE flag on the main window station.
2007-12-18 19:47:31 +01:00
Francois Gouget
69f83a6f9f
user32/tests: Use GetProcAddress() on ChangeDisplaySettingsExA() because it is missing on Windows 95.
2007-12-18 12:32:55 +01:00
Dmitry Timoshkov
aec7e91d53
user32: Always clip the button painting to the client rectangle.
2007-12-17 13:01:56 +01:00
Stefan Dösinger
5461d505d7
winex11: Activate the depth-bpp difference.
2007-12-17 12:25:50 +01:00
Alexandre Julliard
61bace5ba9
Revert "user32: Moved some 16-bit functions."
...
This partially reverts commit 6e9fea22f8
.
16-bit and 32-bit clipboard handles aren't interchangeable.
2007-12-17 11:56:05 +01:00
Stefan Dösinger
5fa90ca910
user32: Add a test for EnumDisplaySettings vs GetDeviceCaps.
2007-12-14 14:06:45 +01:00
Stefan Dösinger
920506b230
user32: Add a test for WM_DISPLAYCHANGE.
2007-12-14 14:06:45 +01:00
Alexandre Julliard
e533e50d59
user32: Print the RegisterHotKey fixme only once.
2007-12-13 14:33:35 +01:00
Andrew Riedi
00b5501524
user32: Test the initial state of the cursor.
2007-12-11 12:09:33 +01:00
Andrew Riedi
d296c18587
user32: Improve test_DestroyCursor().
2007-12-10 12:13:47 +01:00
Andrew Riedi
573fcad0b4
user32: Uncomment and explain a test in test_DestroyCursor().
2007-12-10 12:13:30 +01:00
Alexandre Julliard
55348e5667
user32: Keep waiting for posted messages in peek_message after we get an ignored message.
2007-12-10 12:05:46 +01:00
Alexander Nicolaysen Sørnes
82d937de8f
user32: A few more colour changes to match modern Windows.
...
Thanks to Bamm Gabriana for the info.
2007-12-07 17:07:05 +01:00
Francois Gouget
5f7a9cea38
Assorted spelling fixes.
2007-12-07 16:35:32 +01:00
Michael Stefaniuc
64b7359265
user32/tests: Pass HEAP_ZERO_MEMORY to HeapAlloc() instead of clearing the memory with a separate memset() call.
2007-12-07 14:52:45 +01:00
Alexandre Julliard
d30b5742ed
server: Implemented EnumWindowStations and EnumDesktops.
2007-12-05 16:45:32 +01:00
Dmitry Timoshkov
718e71300c
user32: Make sure the desktop window is created before mode enumeration.
2007-12-04 18:40:54 +01:00
Andrew Riedi
3d08d32a42
user32: Add a FIXME for animated cursors.
2007-12-03 13:18:50 +01:00
Stefan Dösinger
abf5240310
user32: Destroying the current cursor results in an error.
2007-11-30 14:01:34 +01:00
Gerald Pfeifer
2ff2d88510
user32: Reduce scope of variable in ICO_ExtractIconExW() and initialize it.
2007-11-29 15:35:09 +01:00
Divan Burger
1aff3528cf
user32, wine.inf: Enable title bar gradients and match colours with win2k.
2007-11-28 13:41:06 +01:00
Gerald Pfeifer
56af18f223
user32: Fix variable type in SCROLL_HandleScrollEvent(). Remove useless check in SCROLL_SetScrollInfo().
2007-11-26 13:54:44 +01:00
Andrew Talbot
1818d3a208
user32: Fix a typo.
2007-11-26 12:27:25 +01:00
Andrew Talbot
f394970edb
user32: Constify some variables.
2007-11-26 12:27:14 +01:00
Andrew Talbot
7a8eb4c599
user32: Constify some variables.
2007-11-21 13:23:50 +01:00
Divan Burger
113f573b25
user32: Change the desktop colour and pattern to match win2k.
2007-11-21 13:22:18 +01:00
Divan Burger
91d2b609c3
user32: Fix colours to match exactly with Windows 2000.
2007-11-21 13:22:14 +01:00
Alexander Nicolaysen Sørnes
1f8ba96128
user32: Change to modern Windows colours.
2007-11-20 16:59:20 +01:00
Francois Gouget
5f1416ef2b
user32/tests: Add the trailing '\n' to an ok() call.
2007-11-20 16:44:53 +01:00
Andrew Talbot
49c0bd5dd5
user32: Constify some variables.
2007-11-20 12:29:00 +01:00
Michael Stefaniuc
3e8970602c
dlls: Remove duplicate includes.
2007-11-19 13:54:46 +01:00
Andrew Talbot
0a7513328f
user32: Constify a variable.
2007-11-15 11:10:15 +01:00
Alex Villacís Lasso
00bba190aa
user32: Conformance tests for DlgDirList and DlgDirSelectEx.
2007-11-15 11:09:49 +01:00
Alex Villacís Lasso
bee9fbfd43
user32: DlgDirList converts path specification to uppercase.
2007-11-15 11:09:32 +01:00
Alex Villacís Lasso
56958984dd
user32: Conformance tests for LB_DIR on listboxes.
2007-11-14 13:10:47 +01:00
Alex Villacís Lasso
c4a77bd510
user32: DlgDirSelect tacks on a period on filenames without ext.
2007-11-14 13:10:39 +01:00
Alex Villacís Lasso
08d945dadd
user32: LB_DIR with standalone DDL_DRIVES implies DDL_EXCLUSIVE.
2007-11-14 13:04:54 +01:00
Alex Villacís Lasso
873799df24
user32: Fix returned value of LB_DIR.
2007-11-14 13:04:44 +01:00
Andrew Talbot
b673b984f2
user32: Constify a variable.
2007-11-14 11:51:19 +01:00
Francois Gouget
b0afca5704
user32/tests/msg: Don't mess up lParam as it is passed on to DefWindowProcA().
2007-11-13 23:28:06 +01:00
Dan Kegel
aaa93200ad
user32: Implement return value for DdeClientTransaction for XTYP_EXECUTE.
2007-11-12 14:13:02 +01:00
Alexandre Julliard
6ff78347e2
user32: Remove a few traces that only duplicate the relay information.
2007-11-12 14:03:45 +01:00
Andrew Talbot
5f4f0fa04d
user32: Constify some variables.
2007-11-12 11:41:32 +01:00
Alexandre Julliard
5fa4e85ad6
user32/tests: Fix access to an uninitialized variable.
2007-11-09 13:14:37 +01:00
Dmitry Timoshkov
5722660758
user32: Simplify some code.
2007-11-09 13:10:34 +01:00
Francois Gouget
2b6abd5f85
user32/tests: Skip some tests when DdeClientTransaction() returns NULL. This avoids some crashes on Win9x.
2007-11-09 13:06:43 +01:00
Andrew Talbot
d98b83bed5
user32: Constify some variables.
2007-11-09 12:26:23 +01:00
Alex Villacís Lasso
188610e603
user32: Fix for failing tests of LB_GETTEXT on listbox on Win98.
2007-11-08 11:48:33 +01:00
Alex Villacís Lasso
5f603f823e
user32: Fix LB_ITEMFROMPOINT tests for listbox control.
2007-11-08 11:48:26 +01:00
Alexandre Julliard
4f5c61ac7c
user32: Removed unused NC_DrawGrayButton function.
2007-11-07 19:46:34 +01:00
Alexandre Julliard
c57b5057db
user32: Make all internal user32 functions and variables hidden.
2007-11-07 19:46:29 +01:00
Alexandre Julliard
2b77fed4cd
user32: Fixed A<->W translations of CREATESTRUCTs that contain atoms.
2007-11-06 13:58:05 +01:00
Francois Gouget
7b00b60cf5
user32: Fix compilation on systems that don't support either nameless unions or nameless structs.
2007-11-05 15:06:31 +01:00
Alexandre Julliard
a54a990b3b
server: Allow to specify the class name instead of the atom to find a window.
2007-11-02 15:26:49 +01:00
Alexandre Julliard
1fc461f98b
server: Allow to specify the class name instead of the atom to create a window.
2007-11-02 15:16:25 +01:00
Gerald Pfeifer
c7adf5f4b2
user32: Don't check unsigned types for >= 0.
2007-11-02 12:36:55 +01:00
Alexandre Julliard
5c5e333284
user32/tests: Don't test the contents of uninitialized buffers.
2007-11-02 12:27:27 +01:00
Alexandre Julliard
8b42238b5b
user32: Cache the window class name on the client side.
2007-11-02 11:57:35 +01:00
Alexandre Julliard
1ee62a8d72
user32: Properly handle integer atoms specified as strings in class names.
2007-11-02 11:42:53 +01:00
Alexandre Julliard
b9b940fab9
server: Support using a name to destroy a window class too.
2007-11-01 15:28:30 +01:00
Alexandre Julliard
0762d98f7c
server: Allow to send a name instead of an atom when creating a window class.
2007-11-01 13:02:01 +01:00
Alexandre Julliard
bfe88a00f8
user32: Store the builtin class names in Unicode.
2007-11-01 12:55:00 +01:00
Dmitry Timoshkov
2712eb50b1
user32: Initialize more fields in the DEVMODE structure.
2007-11-01 12:41:30 +01:00
Alexandre Julliard
c183a9e6e7
server: Added support for HWND_TOPMOST and HWND_NOTOPMOST.
2007-10-31 18:12:56 +01:00
Alexandre Julliard
86c8860d62
user32: SetParent should not make the window topmost.
2007-10-31 18:00:53 +01:00
Alexandre Julliard
ebc6864953
user32: Don't allow changing the WS_EX_TOPMOST style with SetWindowLong.
2007-10-31 17:53:58 +01:00
Hwang YunSong(황윤성)
6aadc86297
user32: Updated Korean resource.
2007-10-31 14:09:25 +01:00
Alexandre Julliard
e2b5227b65
user32: Fix a slightly incorrect assert.
2007-10-30 14:11:44 +01:00
Mikolaj Zalewski
585329ed13
user32: Better fix how to handle GetWindowLongPtr[AW](..., GWLP_WNDPROC) for builtin winprocs.
2007-10-30 14:08:50 +01:00
James Hawkins
e6b658c4bf
user32: Define WM_LBTRACKPOINT if it's not previously defined.
2007-10-26 14:03:47 +02:00
James Hawkins
0c22e54059
user32: Fix a test that now passes in Windows.
2007-10-26 14:03:47 +02:00
Lei Zhang
7c2263ddc4
user32: Do not send button click to dialog with disabled default button.
2007-10-25 13:52:09 +02:00
Alex Busenius
ca625836de
user32: Fix segfault when combobox contains a longer text than buffer_limit.
2007-10-22 16:30:53 +02:00
Alex Villacís Lasso
c67d0122db
user32: Tests for fix EM_SETLIMITTEXT with zeroed args.
2007-10-18 14:10:53 +02:00
Alex Villacís Lasso
48fd106ea1
user32: Fix EM_SETLIMITTEXT with zeroed args.
2007-10-18 14:10:47 +02:00