Alexandre Julliard
57d439f4f1
user32: Turn the combobox winproc into a Wow handler.
2009-12-15 16:09:13 +01:00
Alexandre Julliard
02e74fa8a6
user32: Implement UserRegisterWowHandlers function and add a handler for the button winproc.
2009-12-15 16:09:13 +01:00
Alexandre Julliard
d6dfcf94b0
user32/tests: Add a number of tests for WaitForInputIdle.
...
With help from Dmitry Timoshkov.
2009-12-15 16:08:40 +01:00
Alexandre Julliard
6c253bb143
user32: Return failure in WaitForInputIdle if we can't open the idle event.
2009-12-15 13:10:10 +01:00
Alexandre Julliard
9727750c79
user32: Move Get/SetWindowLong16 implementation to wnd16.c.
2009-12-14 12:04:02 +01:00
Alexandre Julliard
2f0bfbac36
user32: Remove the no longer used WINPROC_CallDlgProc16 function.
2009-12-14 12:04:02 +01:00
Alexandre Julliard
57e9244ab6
user32: Move SystemParametersInfo16 to user16.c.
2009-12-14 12:03:55 +01:00
Alexandre Julliard
fb20226475
user32: Split the handling of the 16-bit messages out of the static winproc.
2009-12-13 12:13:19 +01:00
Alexandre Julliard
11ed5da3fd
user32: Split the handling of the 16-bit messages out of the scrollbar winproc.
2009-12-13 12:13:14 +01:00
Alexandre Julliard
8b226ac4d6
user32: Split the handling of the 16-bit messages out of the listbox winproc.
2009-12-13 12:13:06 +01:00
Alexandre Julliard
51770cdbbc
user32: Split the handling of the 16-bit messages out of the combo winproc.
2009-12-13 12:12:56 +01:00
Alexandre Julliard
68775d9134
user32: Split the handling of the 16-bit messages out of the button winproc.
2009-12-13 12:12:47 +01:00
Alexandre Julliard
68656c0c3f
user32: Split the handling of the 16-bit messages out of the edit winproc.
2009-12-13 12:12:21 +01:00
Alexandre Julliard
810e701a3f
user32: Store the 16-bit edit handle directly in the window extra bytes.
2009-12-11 20:22:49 +01:00
Alexandre Julliard
7e9721f8f2
user32: Split the code that deals with the 16-bit edit buffer handle to separate functions.
2009-12-11 20:21:52 +01:00
Alexandre Julliard
dcec342b50
user32: Add a thunking mechanism for 16-bit edit word break procedures.
2009-12-11 20:20:54 +01:00
Huw Davies
6b8c9aee4f
user32: Pad lfFaceName so we don't write uninitialised data to the registry.
...
Found by Valgrind.
2009-12-04 15:49:26 +01:00
Huw Davies
6fc8234300
user32: Pad lfFaceName so we don't write uninitialised data to the registry.
...
Found by Valgrind.
2009-12-04 15:48:19 +01:00
Nikolay Sivov
aa737174f0
user32/edit: Check for edit window to be here in case of destruction during handler execution.
2009-12-03 10:16:39 +01:00
Nikolay Sivov
0e16d4cd5b
user32/tests: Free window after use.
2009-12-03 10:15:33 +01:00
Nikolay Sivov
48cb3a30b5
user32/tests: Restore original procedure to let control clean up.
2009-12-03 10:15:24 +01:00
Dan Kegel
3e28e4ab0f
user32/tests: Allocate big enough buffer for UnpackDDElParam test.
2009-12-03 10:12:30 +01:00
Luke Benstead
7fc8aed47f
user32: Implement PrintWindow.
2009-12-02 12:16:03 +01:00
Paul Vriens
50cec6e989
include: Add some system parameters.
2009-11-30 13:13:33 +01:00
Nikolay Sivov
916e38f969
user32/tests: Free memory after use.
2009-11-30 12:57:05 +01:00
Marcus Meissner
1667a2469e
user32: Fixed NULL ptr checks (Coverity).
2009-11-24 10:51:34 +01:00
Ilya Shpigor
da9c52371e
user32: Destroy EDITSTATE structure in the WM_NCDESTROY message processing.
2009-11-16 17:06:21 +01:00
Nikolay Sivov
1b96626750
user32: Free window text to prevent leak in case when WM_NCDESTROY doesn't get to default procedure.
2009-11-16 15:01:22 +01:00
Rico Schüller
a679b4e3af
user32: Add argument check for PTITLEBARINFO in GetTitleBarInfo().
2009-11-13 11:52:25 +01:00
Alexandre Julliard
727f23c581
user32: No longer export the 16-bit dialog and message functions.
2009-11-13 11:52:23 +01:00
Alexandre Julliard
b76f85872c
user32: Use the correct type for the return value of DefDlgProcA/W.
2009-11-13 11:52:15 +01:00
Alexandre Julliard
76dcb0ecb9
user32: Reimplement DefDlgProc16 using message mapping functions.
2009-11-13 11:11:31 +01:00
Alexandre Julliard
2a64c6b11c
user32: Move driver support to mmsystem and replace it with stubs in user.exe.
2009-11-12 23:09:21 +01:00
Alexandre Julliard
dd64dd5548
user32: Reimplement UserYield using PeekMessageW.
2009-11-12 23:09:21 +01:00
Dan Kegel
75d613f64f
user32: Fix uninitialized variable so first call to DdeGetLastError isn't undefined.
2009-11-09 19:35:55 +01:00
Ilya Shpigor
e6f0404076
user32: Fix switching focus to parent after child hiding.
2009-11-05 14:45:33 +01:00
Alexandre Julliard
5950c6af80
user32: Specify the full application path when starting builtin apps.
2009-10-27 11:22:38 +01:00
Paul Vriens
eaec876917
user32/tests: Fix a typo.
2009-10-23 20:01:53 +02:00
Paul Vriens
05765a0b0c
user32/tests: Skip some tests on Win9x/WinMe.
2009-10-23 15:54:08 +02:00
Detlef Riekenberg
6f6ce4a325
user32: Bump version to XP values.
2009-10-23 15:54:08 +02:00
Alexandre Julliard
1b27890af6
user32: Fix the return value of EnumThreadWindows.
2009-10-23 15:54:07 +02:00
Alexandre Julliard
67cbdfb575
user32: Don't print CreateWindow warning for HWND_MESSAGE windows.
2009-10-23 12:23:51 +02:00
Alexandre Julliard
12cb58c426
user32: Data chunks in RIFF file must be word-aligned.
2009-10-22 15:15:00 +02:00
Julius Schwartzenberg
9f548bd9b8
user32/tests: Test extra value of standard dialog and edit classes.
2009-10-22 14:36:15 +02:00
Julius Schwartzenberg
8e899e0076
user32: Change extra value for standard edit class to 6.
...
Civilization II crashes when trying to display an edit box when this
value is anything other than six. It crashes in exactly the same way
on Windows XP 64-bit.
2009-10-22 14:35:58 +02:00
Nikolay Sivov
77fe22b226
user32/win: Release scroll window data on window destruction.
2009-10-21 16:05:59 +02:00
Nikolay Sivov
e72ed1c421
user32/edit: Properly clean up on failure inside WM_NCCREATE handler.
2009-10-21 16:05:59 +02:00
Nikolay Sivov
a60966068b
user32/edit: Don't leak undo buffer.
2009-10-21 16:05:58 +02:00
Alexandre Julliard
9390bc921e
user32/tests: Use the correct lparam in the WM_DDE_ACK reply.
2009-10-19 16:21:50 +02:00
Michael Stefaniuc
77f43eedf5
user32: Remove a duplicated return statement (Smatch).
2009-10-19 11:36:08 +02:00
Rein Klazes
b94f63ef38
user32: Handle MN_GETHMENU in PopupMenuWndProc.
2009-10-16 17:49:40 +02:00
Alexandre Julliard
62ac036bc6
user32: Add a helper to retrieve the dimensions of an icon.
2009-10-15 20:00:00 +02:00
Alexandre Julliard
09d1c52fa0
user32: Move 16-bit resource functions to user16.c.
2009-10-15 17:55:46 +02:00
Alexandre Julliard
a7adbf7849
user32: Reimplement accelerator functions to use 32-bit user handles instead of 16-bit functions.
2009-10-15 17:35:06 +02:00
Erich Hoover
b74c0cc2fe
user32: Test for 'F10' key events.
2009-10-14 12:57:47 +02:00
Stefan Dösinger
acebc001b7
user32: Make some functions hookable.
2009-10-14 12:21:06 +02:00
Alexandre Julliard
5db3e7d43e
user32: Set last error in WIN_GetRectangles.
2009-10-12 17:07:04 +02:00
Alexandre Julliard
796346f825
user32: Get rid of the 16-bit heap support.
2009-10-12 17:07:04 +02:00
Alexandre Julliard
db79a9f2e9
user32: Use client-side user handles for menus.
2009-10-12 17:07:04 +02:00
Alexandre Julliard
4bb95f4d0f
user32: Use the generic handle functions for windows too.
2009-10-12 17:07:04 +02:00
Alexandre Julliard
da3c4c995a
user32: Use client-side user handles for DeferWindowPos.
2009-10-12 17:07:04 +02:00
Alexandre Julliard
d996f7e334
user32: Add functions for manipulating client-side user handles.
2009-10-12 17:07:04 +02:00
Paul Vriens
42f7e4a4d9
user32/tests: Fix an intermittent test failure.
2009-10-12 12:36:29 +02:00
Dmitry Timoshkov
523d8ceefc
user32: Make sure that focus_rect is always initialized.
2009-10-12 12:33:31 +02:00
Paul Vriens
429bf7e0e2
user32/tests: Skip some tests on Win9x/WinMe.
2009-10-08 12:17:30 +02:00
Alexander Scott-Johns
6ad9c44389
user32: Add missing doc comment.
2009-10-07 15:57:14 +02:00
Paul Vriens
7be2f6d985
user32/tests: Fix some test failures with 9x/Me on VMware.
2009-10-06 16:13:18 +02:00
Alexandre Julliard
239265fd8b
tests: Build all tests with strict prototypes.
2009-10-06 16:12:39 +02:00
Michael Stefaniuc
e6cd096d65
user32: Fix a memory leak on a error patch (Smatch).
2009-10-06 13:41:33 +02:00
Ge van Geldorp
2165c2640e
user32/tests: Fix sysparams test failure on Win7.
2009-10-06 12:00:51 +02:00
Alexandre Julliard
5cdd8a2a48
user32: Don't use a static dc for icon blitting.
2009-10-05 15:18:10 +02:00
Joel Holdsworth
c2202929ab
user32: Fixed CURSORICON_CreateIconFromBMI to preserve the alpha channel.
2009-10-05 15:17:16 +02:00
Wilfried Pasquazzo
2326f3d4d5
user32: DrawState always uses real icon size for drawing.
2009-10-05 14:53:00 +02:00
Wilfried Pasquazzo
3be7ec3401
user32/tests: DrawState: New test case for correct drawing of icons.
2009-10-05 14:52:46 +02:00
Michael Stefaniuc
bd93d0b5d8
user32/tests: Use LONG instead of long.
2009-10-02 15:06:57 +02:00
Paul Vriens
fda70b97f4
user32/tests: Don't crash on Win9x/WinMe/NT4.
2009-10-01 11:33:21 +02:00
Peter Dons Tychsen
f20f411925
user32: Add exception handling for timer callbacks.
2009-09-30 14:34:32 +02:00
Andrey Turkin
aa347e0721
user32: Accept SPI_GET/SETMOUSEVANISH parameters in SystemParametersInfo.
2009-09-28 12:37:52 +02:00
Andrey Turkin
1a80add0e3
user32: Accept SPI_GET/SETDROPSHADOW parameters in SystemParametersInfo.
2009-09-28 12:37:45 +02:00
Vincent Povirk
d1099eb4d8
user32: Invert y in DrawTextEx in GM_COMPATIBLE mode if y increases up.
2009-09-28 12:37:20 +02:00
Alexandre Julliard
50573f424a
user32/tests: Add missing flush_events in ScrollWindow test.
2009-09-25 16:08:50 +02:00
Rein Klazes
1775ab4a11
user32: In ScrollWindowEx do not clip the clipping rectangle with the scrolling rectangle.
2009-09-24 14:31:17 +02:00
Alexander Scott-Johns
9c9ebe04c5
user32: Send a WM_DRAWCLIPBOARD message to the new viewer when SetClipboardViewer is called.
2009-09-23 16:09:05 +02:00
Alexander Scott-Johns
64569c66e4
user32: When sending the WM_DRAWCLIPBOARD message, pass the clipboard owner in wParam.
2009-09-23 16:08:59 +02:00
Alexander Scott-Johns
4807fd99a7
user32/tests: Add some clipboard viewer tests.
2009-09-23 16:08:50 +02:00
Wilfried Pasquazzo
1a5db69019
user32/tests: Test for correct scaling of DrawIcon.
2009-09-23 16:06:55 +02:00
Wilfried Pasquazzo
32ca9b27c3
user32: Correct scaling of DrawIcon.
2009-09-23 16:06:49 +02:00
Nikolay Sivov
0209b02f47
user32/edit: Invalidate if style changed after EM_SETREADONLY.
2009-09-22 16:24:37 +02:00
Akihiro Sagawa
afd33d618f
user32: Update Japanese resource.
2009-09-15 16:41:25 -05:00
Alexandre Julliard
b225082a71
user32/tests: Use explicit prototypes for function pointers.
2009-09-09 13:12:46 +02:00
Alexandre Julliard
13ca78cf1a
user32: Use explicit prototypes for function pointers.
2009-09-09 13:12:38 +02:00
Alexandre Julliard
bab99e5353
user32/tests: Non-US keyboards are allowed on Wine too.
2009-09-09 12:18:56 +02:00
Dmitry Timoshkov
07a002f3b4
user32: Send the same lParam with WM_SYSCOMMAND/SC_CLOSE as was received with WM_NCLBUTTONDOWN.
2009-09-09 12:18:39 +02:00
Ge van Geldorp
b5d7025932
user32/tests: Skip test on non-US keyboard.
2009-09-08 12:11:52 +02:00
Paul Vriens
84153c09cb
user32/tests: Run tests again on Win95.
2009-09-01 17:46:45 +02:00
Sergey Khodych
aa8129a338
user32/tests: Fix a typo.
2009-09-01 17:36:56 +02:00
Alexandre Julliard
b464f9cacb
user32: Bring SwitchToThisWindow a bit more in line with the now documented behavior.
2009-08-31 16:37:19 +02:00
Alexandre Julliard
6eabce171e
user32: Don't send focus change messages if foreground window didn't change.
2009-08-31 16:36:17 +02:00
Hongbo Ni
650a0f3fdd
user32: Fix DLL injection problem using LOAD_WITH_ALTERED_SEARCH_PATH.
2009-08-27 11:48:20 +02:00
Michael Stefaniuc
3a7a0eb9dd
user32: Remove a stray ';' that produces an empty if condition.
2009-08-27 11:45:37 +02:00
Sergey Khodych
f1f1c50531
user32: Use IDOK as default identifier in a template.
2009-08-26 16:38:39 +02:00
Sergey Khodych
205a7f7f03
user32: edit: Improve handling of WM_KEYDOWN VK_RETURN in a dialog mode.
2009-08-26 16:38:03 +02:00
Sergey Khodych
d4707dbb60
user32: edit: Improve handling of WM_KEYDOWN VK_TAB in a dialog mode.
2009-08-26 16:37:12 +02:00
Sergey Khodych
3b6ea11481
user32: edit: Improve handling of WM_KEYDOWN VK_ESCAPE in a dialog mode.
2009-08-26 16:37:05 +02:00
Sergey Khodych
6fa48cdd91
user32: edit: Use a dialog mode after receiving WM_GETDLGCODE message.
...
Tests show that the edit control uses a dialog mode after receiving
WM_GETDLGCODE message and it doesn't depend on whether the edit control
has a parent window.
2009-08-26 16:36:50 +02:00
Ge van Geldorp
0a1e0a3261
user32/tests: Fix test failure on Win7.
2009-08-26 16:33:42 +02:00
Andrew Eikum
7fe9e693a7
user32/tests: Fix input test failures on NT4.
2009-08-26 12:10:04 +02:00
Alexandre Julliard
5900da2869
user32: The LongPtr functions are only exported on 64-bit.
2009-08-24 15:17:34 +02:00
Andrew Nguyen
918c9d5994
user32/tests: Fix a test failure on Win9x.
2009-08-24 15:17:32 +02:00
Andrew Eikum
e4106b6273
user32/tests: Fix input test failure in win9x platforms.
2009-08-20 19:43:30 +02:00
Alexandre Julliard
e3b395ff2c
user32: Run the explorer process from the system directory.
2009-08-20 19:43:29 +02:00
Andrew Eikum
37754eb400
user32/tests: Add tests for SendInput with unicode.
2009-08-19 12:19:06 +02:00
Andrew Eikum
f9e7c3f4ba
user32: Handle VK_PACKET messages in TranslateMessage.
2009-08-19 12:18:14 +02:00
Andrew Eikum
55736136e2
winex11: Support KEYEVENTF_UNICODE in SendInput.
2009-08-19 12:16:19 +02:00
Rein Klazes
251c26e0f9
user32: Handle WM_PRINTCLIENT message in PopupMenuWndProc().
2009-08-18 16:14:51 +02:00
Andrew Eikum
c1c22e25c2
user32/tests: Add tests for saving and restoring control focus.
2009-08-14 13:58:49 +02:00
Austin Lund
3dcd46f597
user32/tests: Remove superfluous code from WM_PAINT loop test.
2009-08-14 11:27:31 +02:00
Austin Lund
65758cde7f
user32/tests: Added tests for infinite WM_PAINT loop.
2009-08-13 16:22:07 +02:00
Rein Klazes
06b99c62c2
user32: Fix a bug in computing the maximum depth of a branch in a menu hierarchy.
...
It was computing the number of submenus in the branch, rather then the
maximum depth.
2009-08-12 12:53:42 +02:00
Dmitry Timoshkov
96e44ddb78
user32: Return 0 from DefDlgProc and dialog loop for invalid dialog handles.
2009-08-12 12:53:25 +02:00
Francois Gouget
e74efb5487
Assorted spelling fixes.
2009-08-11 12:35:38 +02:00
Andrew Nguyen
e903872fd2
user32/tests: Fix some test failures on Windows.
2009-08-10 13:11:13 +02:00
Andrew Nguyen
797ec7a58e
user32/tests: Test the behavior of DialogBoxParamA with dialog procedure window destruction.
2009-08-07 12:11:42 +02:00
Dmitry Timoshkov
5b90101e2e
user32/tests: Use symbol charset when creating Marlett font.
2009-08-05 11:19:54 +02:00
Rein Klazes
c18cd1b46f
user32: When all items in a menu have either a bitmap or text but not both, then texts should be aligned with the bitmaps.
2009-08-03 17:39:22 +02:00
Henri Verbeet
b31f0f24ff
user32: Send 0 as LPARAM for SIZE_MINIMIZED WM_SIZE messages.
2009-08-03 15:02:51 +02:00
Vladimir Pankratov
c8eeb72588
user32: Convert the Russian resources to UTF-8.
2009-08-03 14:57:33 +02:00
Rein Klazes
38dbe067c3
user32: Fail if inserting a submenu would create a loop in the menu hierarchy.
2009-07-24 13:11:10 +02:00
Rein Klazes
50cfcffd32
user32: Get rid of internal function MENU_SetItemData, use SetMenuItemInfo_common instead.
2009-07-23 15:35:23 +02:00
Rein Klazes
9555171044
user32: When setting a menu item, handle MIIM_TYPE flag by setting approriate MIIM_BITMAP, MIIM_FTYPE and MIIM_STRING flags.
2009-07-23 15:34:03 +02:00
Rein Klazes
e9f4c6bb02
user32: Put some repeated code for checking and extending of a MENUITEMINFO structure in a separate function.
2009-07-23 15:31:18 +02:00
Dmitry Timoshkov
8d54f58277
user32: Draw the whole button only if requested.
2009-07-23 13:20:21 +02:00
Dmitry Timoshkov
19e4cfd003
user32: Pass the same PRF_ flags from WM_PRINT to WM_PRINTCLIENT.
2009-07-22 11:27:48 +02:00
Rein Klazes
da86ab71fa
user32/tests: Fix for a test failure on win98/NT4.
2009-07-21 15:59:24 +02:00
Rein Klazes
c2ada64097
user32: Ignore the MFT_BITMAP flag when testing menu items for 'magic' bitmap handles.
2009-07-20 14:19:46 +02:00
Rein Klazes
5b4b1e6a67
user32/tests: Show that Windows avoids creating loops in a menu tree, probably by limiting the depth of such tree.
2009-07-17 13:34:40 +02:00
Michael Stefaniuc
88a58a3e1f
user32: Update the German resources and switch them to UTF-8.
2009-07-15 13:23:17 +02:00
Ricardo Filipe
5d5cf8ceb2
user32: Update Portuguese translation and convert to UTF8.
2009-07-07 13:31:12 +02:00
Dmitry Timoshkov
df055b2d2c
user32: Fix some BM_SETSTYLE test failres under Win9x.
2009-07-06 14:35:27 +02:00
Nikolay Sivov
49e95baa2a
user32/spy: Update ListView message table.
2009-07-06 14:35:26 +02:00
Frédéric Delanoy
5e36ced139
user32: Update French translation.
2009-07-06 14:35:25 +02:00
Michael Stefaniuc
3090323c89
user32: Build language resource files separately.
...
Do not include them from an other rc file.
2009-07-03 13:22:16 +02:00
Dmitry Timoshkov
87418f0aaa
user32: Add a test for BM_SETSTYLE, make it pass under Wine.
2009-07-02 13:11:48 +02:00
Michael Stefaniuc
e17af8082b
user32: Remove unreachable code: break after return (Smatch).
2009-06-30 12:31:59 +02:00
Joel Holdsworth
d1c89d0a78
user32: Added DrawIconEx alpha blending support.
2009-06-25 14:34:13 +02:00
Joel Holdsworth
a0232508b3
user32: Added DrawIcon alpha blending support.
2009-06-25 14:34:13 +02:00
Alexandre Julliard
39984d4824
user32: Add call frame annotations in x86 assembly code.
2009-06-25 12:05:09 +02:00
Paul Vriens
d3b3b3e0b9
user32/tests: Prevent some 'deadcode' (Coverity).
2009-06-25 11:48:05 +02:00
Paul Vriens
3b437b550d
user32/tests: Prevent some 'deadcode' (Coverity).
2009-06-23 11:47:44 +02:00
Joel Holdsworth
a7c8dad0bc
user32/tests: Added tests for DrawIcon and DrawIconEx.
2009-06-22 13:27:24 +02:00