Nikolay Sivov
0af447ce9f
user32/tests: Add some GetDlgItem() tests regarding children windows Z-order.
2010-04-25 19:22:11 -05:00
Vincent Povirk
a5fd32eb84
user32: Focus editboxes when the context menu is opened.
2010-04-25 07:38:10 -05:00
Gerald Pfeifer
f2c94fa138
user32: Remove variable mask which is not really used from check_alpha_draw.
2010-04-22 12:12:11 +02:00
Alexandre Julliard
3a263a871c
user32: Fix handling of bitmap header size for V4/V5 bitmaps.
2010-04-21 14:56:26 +02:00
Alexandre Julliard
33e6f7dca3
user32: Only call the driver when the cursor has actually changed.
2010-04-21 11:07:45 +02:00
Alexandre Julliard
8ec6359bbb
user32: Remove the CURSORICON parameter in the SetCursor entry point.
2010-04-21 11:07:45 +02:00
Alexandre Julliard
d676bf246d
user32: Add driver entry points for cursor creation and destruction, and pass the cursor handle to SetCursor.
2010-04-20 19:22:38 +02:00
Jaime Rave
6105216404
user32: Draw the rect edges from left to right and top to bottom.
2010-04-20 16:21:37 +02:00
Michael Stefaniuc
8797fb52cf
user32: Avoid using HIWORD on a string pointer.
2010-04-19 14:56:28 +02:00
Dmitry Timoshkov
c049f83308
user32: Do not ask DrawFrameControl() to modify the passed in rectangle.
...
This patch should fix the regression(s) caused by my recent button painting
patches. The problem was that DrawFrameControl() was modifying the rectangle,
and one of my patches stopped calling DrawFrameControl() in case of ODA_FOCUS
action, so drawing an entire button and only focus started to differ, which
was hidden by the custom clipping (that was removed by my last patch).
2010-04-16 12:40:52 +02:00
Alexandre Julliard
b6765134a3
user32: The Z-order of owned windows doesn't depend on them having the WS_POPUP style.
2010-04-13 21:10:00 +02:00
Dmitry Timoshkov
fedc194e68
user32: Button painting code always sets up the clipping, there is no need to duplicate it.
2010-04-13 11:43:30 +02:00
Nikolay Sivov
6f0560dfa7
user32: Set WM_EXITMENULOOP wParam same way as for WM_ENTERMENULOOP.
2010-04-12 11:29:34 +02:00
Alexandre Julliard
58d1981fbd
user32: Avoid pointer truncation in SetSysColorsTemp.
2010-04-09 13:58:14 +02:00
Nikolay Sivov
e9bae2cfaf
user32: Block TrackPopupMenu if menu is already active.
2010-04-09 11:42:01 +02:00
Joel Holdsworth
38d4aa2b7e
user32: Replace oic_sample.ico with Tango compliant icon.
2010-04-08 12:32:58 +02:00
Joel Holdsworth
db3092cf79
user32: Replaced oic_ques.ico with Tango compliant icon.
2010-04-08 12:32:28 +02:00
Joel Holdsworth
7b68f9a0ed
user32: Replaced oic_note.ico with Tango compliant icon.
2010-04-08 12:31:52 +02:00
Joel Holdsworth
0f5499ecd4
user32: Replaced oic_hand.ico with Tango compliant icon.
2010-04-08 12:31:16 +02:00
Joel Holdsworth
55ac865965
user32: Replaced oic_bang.ico with Tango compliant icon.
2010-04-08 12:30:23 +02:00
Alexandre Julliard
a8e86e35dd
winapi: Generate the 64-bit variant of structure size/alignment tests.
2010-04-07 18:03:00 +02:00
Joel Holdsworth
3b1b1863e4
user32: Replaced oic_winlogo.ico with Tango compliant icon.
2010-04-06 13:23:35 +02:00
Alexandre Julliard
c4dec77064
user32/tests: Fix a test that was incorrectly skipped on non-Win9x platforms.
2010-04-06 12:42:57 +02:00
Alexandre Julliard
1f1d9e7b02
user32/tests: Use the correct type for the bits pointer in CreateDIBSection calls.
2010-04-02 15:40:55 +02:00
Mikhail Maroukhine
5e78bab266
user32: Fix compiler warnings with flag -Wcast-qual.
2010-04-01 18:12:42 +02:00
Alexandre Julliard
01578f51ba
user32: Pack the structure for WM_DDE_ACK to allow crossing 32/64 boundaries.
2010-03-30 20:43:41 +02:00
Alexandre Julliard
2de2222aec
user32: Pack the low-level hook structure in messages to allow crossing 32/64 boundaries.
2010-03-30 20:43:41 +02:00
Alexandre Julliard
366c5ceea7
user32: Pack the MDICREATESTRUCTW structure in messages to allow crossing 32/64 boundaries.
2010-03-30 20:43:41 +02:00
Alexandre Julliard
99719be4a6
user32: Pack the MDINEXTMENU structure in messages to allow crossing 32/64 boundaries.
2010-03-30 20:43:41 +02:00
Alexandre Julliard
3099b08aa2
user32: Pack the MSG structure in messages to allow crossing 32/64 boundaries.
2010-03-30 20:43:41 +02:00
Alexandre Julliard
bbdd742a49
user32: Pack the NCCALCSIZE_PARAMS structure in messages to allow crossing 32/64 boundaries.
2010-03-30 20:43:41 +02:00
Alexandre Julliard
eba2ec4ab1
user32: Pack the HELPINFO structure in messages to allow crossing 32/64 boundaries.
2010-03-30 20:43:41 +02:00
Alexandre Julliard
8ec6cfedea
user32: Pack the COPYDATASTRUCT structure in messages to allow crossing 32/64 boundaries.
2010-03-30 20:43:41 +02:00
Alexandre Julliard
5c65269897
user32: Pack the WINDOWPOS structure in messages to allow crossing 32/64 boundaries.
2010-03-30 20:43:41 +02:00
Alexandre Julliard
9b5b55d9de
user32: Pack the various owner-draw structures in messages to allow crossing 32/64 boundaries.
2010-03-30 20:43:41 +02:00
Alexandre Julliard
fcf8a81904
user32: Pack the CREATESTRUCTW structure in messages to allow crossing 32/64 boundaries.
2010-03-30 20:43:37 +02:00
Alexandre Julliard
bb0c660ed0
user32: Always start the 64-bit version of wineboot.exe on Wow64.
2010-03-29 15:50:10 +02:00
Alexandre Julliard
7bef6dc8b9
user32: Always start the 64-bit version of explorer.exe on Wow64.
2010-03-29 12:26:42 +02:00
Mikhail Maroukhine
819464f1d9
user32: Fix compiler warnings with flag -Wcast-qual.
2010-03-29 12:16:50 +02:00
Sébastien Ramage
e7165b3921
user32: End scrollbar tracking if the mouse capture is lost.
2010-03-25 10:55:51 +01:00
Alexandre Julliard
ce31f2da0a
user32/tests: Fix a couple of race conditions.
2010-03-23 13:24:27 +01:00
Alexandre Julliard
49de5ca39f
user32: Store the current cursor and show count in the server.
2010-03-22 17:54:21 +01:00
Francois Gouget
3428b94a8d
Assorted spelling and case fixes.
2010-03-22 10:49:13 +01:00
Paul Vriens
b897a37f38
user32/tests: Fix timeouts on Win9x/WinMe.
2010-03-19 12:26:46 +01:00
Alexandre Julliard
c83ea46e1a
user32: Return fake global information in GetCursorInfo instead of thread-local values.
2010-03-19 11:59:51 +01:00
Alexandre Julliard
0be0211682
user32/tests: Add some tests for GetCursorInfo.
2010-03-19 11:59:33 +01:00
Alexandre Julliard
d2ec02e06f
user32/tests: Add some tests for ShowCursor.
2010-03-18 19:26:36 +01:00
Alexandre Julliard
5a18e2a925
user32/tests: Add some tests demonstrating that SetCursor uses the thread input data.
2010-03-18 13:46:38 +01:00
Henri Verbeet
d9381b97aa
user32/tests: Add a test for foreground windows on a different thread.
...
What happens is that we get the WM_WINE_SETACTIVEWINDOW message sent by the
other thread after we already changed the foreground window back to our own
window.
2010-03-18 10:23:46 +01:00
Alexandre Julliard
bef5645eb1
makefiles: Remove the no longer needed explicit separators for dependencies.
2010-03-16 13:28:19 +01:00
Dmitry Timoshkov
52ebbb8aa7
user32: Restore special handling of monochrome bitmaps removed by c2202929ab
.
2010-03-15 15:07:15 +01:00
Jörg Höhle
9079109a45
winex11: Log keycode decimal <-> hex for keysym & MS vkey and scancode.
2010-03-04 12:28:22 +01:00
David Hedberg
5a1f8c57a8
user32: Fix case where EM_SCROLL with page down results in trying to scroll up past the beginning.
2010-03-03 14:01:58 +01:00
David Hedberg
598052b4ad
user32: Fix return value of EDIT_EM_Scroll.
2010-03-03 14:01:50 +01:00
Alexandre Julliard
b0760fc2e9
server: Set the idle event when PeekMessage is called with -1 as window filter.
2010-03-03 13:20:53 +01:00
Alexandre Julliard
4d33d4982f
user32: Pass HWND_BOTTOM unmodified to the server in PeekMessage.
2010-03-03 13:20:26 +01:00
Henri Verbeet
6ee4a87ad6
user32: Also show dialogs right after a WM_TIMER message.
2010-03-02 14:29:21 +01:00
Alexandre Julliard
c888a2eb22
user32/tests: Fix broken check of the ok() macro return value.
...
Spotted by Yann Droneaud.
2010-02-24 16:04:11 +01:00
Dmitry Timoshkov
d6cfc3223e
user32: DeleteDC() should allow to delete a DC returned by GetDC().
2010-02-24 16:03:02 +01:00
Nikolay Sivov
e7c909a1be
user32: Use whole window rectangle for UpdateLayeredWindow.
2010-02-24 16:02:57 +01:00
Nikolay Sivov
62019e6d3a
user32: Intersect with passed dirty rectangle while blitting.
2010-02-24 15:12:30 +01:00
Nikolay Sivov
9b7b3ef1c4
user32/tests: Test to show that caption added for WS_EX_LAYERED as well.
2010-02-24 15:12:30 +01:00
Andrew Nguyen
416589a7c2
user32/tests: Fix a failure message trace.
2010-02-23 12:09:55 +01:00
Andrew Nguyen
0b23012867
user32: Ensure that WM_INITDIALOG passes the first tabstop control handle to the dialog procedure.
2010-02-23 12:09:50 +01:00
Jörg Höhle
d25b9cebff
user32: Sync vkey codes with winuser.h.
2010-02-22 13:16:14 +01:00
Alexandre Julliard
6164ce2d82
makefiles: Use the standard C_SRCS variable as the list of test files.
...
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Alexandre Julliard
adf9dcd6a7
user32: Fix Z-order handling of windows that have a top-most owner.
2010-02-19 13:05:08 +01:00
Alexandre Julliard
a64765f673
user32: Don't overwrite the default button id when creating the dialog structure.
2010-02-17 11:43:34 +01:00
Kusanagi Kouichi
ccab177159
user32: Consolidate empty string.
2010-02-15 12:09:55 +01:00
Alexandre Julliard
112ff62283
user32: Don't forward WM_SETCURSOR to the desktop window.
2010-02-12 15:55:45 +01:00
Michael Stefaniuc
7442a7f931
user32: Don't use HIWORD() on a HINSTANCE.
2010-02-11 17:33:50 +01:00
Dmitry Timoshkov
9e93906658
user32: In a DLGTEMPLATEEX resource dialog version goes before signature.
2010-02-09 17:13:36 +01:00
Alexandre Julliard
0e0b704f5b
user32: Do not load 16-bit user.exe by default.
2010-02-08 17:49:48 +01:00
Alexandre Julliard
f89aaa65ad
user32: Store 32-bit and 16-bit cursors/icons in independent structures.
2010-02-08 17:49:47 +01:00
Reece Dunn
e66198ae92
user32/tests: Make the MDI client take up the whole client area.
2010-02-08 17:14:44 +01:00
Paul Vriens
1cbedfb204
user32/tests: Fix crash on Win9x/WinMe.
2010-02-08 17:14:43 +01:00
Paul Vriens
c0acfe1ead
user32/tests: Don't try to detect Win9x/WinMe several times.
2010-02-08 17:14:43 +01:00
Bernhard Übelacker
8d127f3a81
user32: Don't hide the window in SetParent when window and parent are equal.
2010-02-05 13:14:45 +01:00
Alexandre Julliard
30e1445f08
user32/tests: Fix the menu capture test for NT4.
2010-02-05 11:29:12 +01:00
Michael Stefaniuc
adc6b60f17
user32: Don't print the function name twice in a FIXME.
2010-02-04 13:39:28 +01:00
Michael Stefaniuc
0a22cd2b8f
user32: Avoid using HIWORD() on atoms/resources.
2010-02-04 13:39:27 +01:00
Alexandre Julliard
48c8c8d7bd
user32: Add a safety check in release_user_handle_ptr.
2010-02-03 13:54:01 +01:00
Alexandre Julliard
48ab8eb3fd
user32: Fix the WM_CONTEXTMENU parameter for 64-bit.
2010-02-02 23:44:10 +01:00
Alexandre Julliard
c4568edd64
user32/tests: Dispatch a message in case we can a WM_PAINT.
2010-02-02 11:47:20 +01:00
Jason Edmeades
f27b032d50
user32: Preselect all editbox text when combo gets focus.
2010-01-25 18:05:03 +01:00
Jason Edmeades
0641192b52
user32/tests: Combo should preselect all text on first WM_SETFOCUS.
2010-01-25 18:05:03 +01:00
Justin Chevrier
64f2c03457
user32: EnumDisplayDevicesW, populate DeviceID member.
2010-01-25 12:54:19 +01:00
Paul Vriens
665c90a9c7
user32/tests: Don't crash on Win9x/WinMe.
2010-01-22 12:14:34 +01:00
Kusanagi Kouichi
56416b09a6
user32: F10 key deactivates menu.
2010-01-18 14:38:29 +01:00
Paul Vriens
5da7043c52
user32/tests: Run tests again on Win95.
2010-01-18 14:20:29 +01:00
Kusanagi Kouichi
529b183397
user32: Make DefWindowProc handle Shift+F10.
2010-01-14 10:59:33 -06:00
Kusanagi Kouichi
95676b50f8
user32/tests: Add test for Shift+F10.
2010-01-14 10:59:28 -06:00
Peter Dons Tychsen
d21c131fb5
user32: Do not allow a change of capture if the currently capture window is a menu unless explicitly specified.
2010-01-14 09:04:55 -06:00
Michael Stefaniuc
31ef27ed57
user32: Avoid newlines inside FIXME messages.
2010-01-14 09:03:37 -06:00
Alexander Kochetkov
8037de9f02
user32: Fix arithmetic overflow in GetThumbVal.
2010-01-11 11:29:05 -06:00
Nikolay Sivov
ba51a6c9bc
user32/tests: Forward test proc to default dialog procedure instead of window's one.
2010-01-08 17:04:00 +01:00
Marcus Meissner
69bf18567f
user32: EM_REPLACESEL - handle OOM error.
2010-01-06 17:23:08 +01:00
Marcus Meissner
4d96ffb52b
user32: Remove useless NULL check (Coverity).
2010-01-06 17:22:31 +01:00
Alexandre Julliard
993de4d82f
user32: Remove a useless comment.
2010-01-06 09:54:35 +01:00
Detlef Riekenberg
2f529c39fd
user32: Move a comment about HLOCAL16 to user.exe.
2010-01-05 18:08:19 +01:00
James Hawkins
289047c735
user32: Don't try to free a handle with a value of 1, which is the dde handle value for asynchronous operations.
2010-01-05 12:29:03 +01:00
Joel Holdsworth
95ac10e526
user32: Fixed icons to select correct image in high colour depth.
2009-12-31 12:12:17 +01:00
Dmitry Timoshkov
2d0b2433c2
user32: Handle virtual key codes only in the WM_KEYDOWN case.
...
Reported by David Quintana.
2009-12-30 16:14:11 +01:00
Marcus Meissner
36f9248c1a
user32: Initialize hICON to NULL (Coverity).
2009-12-30 16:12:24 +01:00
Nikolay Sivov
ff12594a15
user32/uitools: Fix FillRect behaviour for invalid brush passed.
2009-12-30 16:11:51 +01:00
Nikolay Sivov
385b8dcb95
user32/sysparams: Return NULL from GetSysColorBrush() for invalid index.
2009-12-30 13:40:43 +01:00
Nikolay Sivov
2a0fca79ae
user32/tests: Add tests for invalid index in GetSysColorBrush().
2009-12-29 15:42:02 +01:00
Alexandre Julliard
b96ab35cad
user32: Move loading of static icons for 16-bit windows to the 16-bit wrapper.
2009-12-28 23:50:40 +01:00
Alexandre Julliard
9ceda48337
user32: Load the 32-bit user.exe module wrapper from the 32-bit side.
2009-12-28 23:50:40 +01:00
Alexandre Julliard
40a264b0e7
winevdm: Move the loading of the system drivers into their specific 16-bit module.
2009-12-28 23:50:40 +01:00
Michael Stefaniuc
6f3b494463
user32: Remove some explicit LPARAM/WPARAM casts.
2009-12-28 12:27:13 +01:00
Michael Stefaniuc
7e2b624896
user32/tests: Remove some explicit LPARAM/WPARAM casts.
2009-12-28 12:27:13 +01:00
Alexandre Julliard
537877adae
user32: Move handling of listbox sizes for Win 3.1 apps to the 16-bit code.
2009-12-24 21:09:17 +01:00
Alexandre Julliard
5d92931933
user32: Use a standard critical section instead of a syslevel for the USER lock.
2009-12-24 17:42:19 +01:00
Alexandre Julliard
8aa83d326a
user32: Make user.exe into a stand-alone 16-bit module.
2009-12-24 12:15:12 +01:00
Alexandre Julliard
4b4b6a48cb
user32: Use the wait message handler for the yield in PeekMessageW too.
2009-12-24 12:08:02 +01:00
Alexandre Julliard
b33c5f163a
user32: Add a WoW wrapper for message waiting to allow releasing the Win16 lock in the 16-bit code.
2009-12-24 12:07:44 +01:00
Alexandre Julliard
2ea73fd709
user32: Remove the no longer needed WIN_ISDIALOG flag.
2009-12-23 21:13:58 +01:00
Alexandre Julliard
5e640271f2
user32: Remove the no longer used WIN_ISWIN32 flag.
2009-12-23 21:10:59 +01:00
Alexandre Julliard
da57abcb02
user32: Move a few 16-bit stubs to user16.c.
2009-12-23 19:49:27 +01:00
Alexandre Julliard
cf81d0f0f9
user32: Remove remaining calls to internal 32-bit functions from msg16.c.
2009-12-23 19:45:41 +01:00
Alexandre Julliard
b63d0e19ed
user32: Replace spy functions by a simple trace in 16-bit code.
2009-12-23 19:45:03 +01:00
Alexandre Julliard
a0f9da117a
user32: Remove some redundant 16-bit message traces.
2009-12-23 19:35:56 +01:00
Alexandre Julliard
b201a41edf
user32: Export the WIN_GetFullHandle function through the WoW handlers.
2009-12-23 19:34:58 +01:00
Alexandre Julliard
eb36bb2e47
user32: Export DIALOG_get_info and DIALOG_DoDialogBox through the WoW handlers.
2009-12-23 19:34:41 +01:00
Alexandre Julliard
7f11441af9
user32: Duplicate DIALOG_Enable/DisableOwner implementation on the 16-bit side.
2009-12-23 19:33:26 +01:00
Alexandre Julliard
ecca543ff2
user32: Don't store the 16-bit hook info in the 32-bit thread queue structure.
2009-12-23 14:27:31 +01:00
Alexandre Julliard
1bee9f4f71
user32: Make HOOK_IsHooked function static.
2009-12-23 14:27:31 +01:00
Alexandre Julliard
83b66549da
user32: Get rid of 16-bit handles in the driver clipboard interface.
2009-12-23 14:27:31 +01:00
Alexandre Julliard
3313c40b7c
user32: Reimplement 16-bit clipboard functions on top of the 32-bit ones.
2009-12-23 14:27:31 +01:00
Alexandre Julliard
ffe9ace917
user32/tests: Fix some last error checks for WoW64.
2009-12-23 14:27:31 +01:00
Alexandre Julliard
388814dfa9
user32: Avoid accessing the window structure directly in Get/SetWindowLong16.
2009-12-23 14:27:29 +01:00
Alexandre Julliard
4e343b6f3a
user32: Avoid accessing the window structure directly in DispatchMessage16.
2009-12-23 14:27:28 +01:00
Alexandre Julliard
73cf431aac
user32: Get rid of support for extracting icons from builtin dlls.
...
We now have fake dll files for all dlls, the icons can be loaded from there.
2009-12-23 14:27:22 +01:00
Alexandre Julliard
2919c49d7f
user32: Don't cache 16-bit instance resources on the 32-bit side.
2009-12-23 14:26:51 +01:00
Alexandre Julliard
cecb3a993c
user32: Allocate user handles for cursors/icons when we don't have 16-bit support.
2009-12-22 17:35:41 +01:00
Alexandre Julliard
0f511f3c8e
user32: Don't assume global handles in CopyIcon.
2009-12-22 17:27:59 +01:00
Alexandre Julliard
b36ca48608
user32: Call the cursor/icon handle allocation functions through the WoW handlers table.
2009-12-22 17:27:57 +01:00
Alexandre Julliard
0280f058f9
user32: Add wrapper functions for manipulation of cursor/icon handles.
2009-12-22 17:27:25 +01:00
Alexandre Julliard
00e75f2b9e
user32: Reimplement MENU_FindSubMenu on the 16-bit side using only exported functions.
2009-12-22 17:00:12 +01:00
Alexandre Julliard
b615656f00
user32: Get rid of the 16-bit dialog heap.
...
Edit controls don't allocate memory on the 16-bit heap anyway.
2009-12-22 15:35:15 +01:00
Alexandre Julliard
009badeb32
user32: Delay creation of the 16-bit dialog info structure until the window is created.
...
This mirrors the behavior of the 32-bit side.
2009-12-22 15:34:19 +01:00
Alexandre Julliard
ce05f49843
user32: Avoid including winuser16.h in 32-bit files.
2009-12-22 13:48:24 +01:00
Alexandre Julliard
df3e5a8762
user32: Reimplement MapWindowPoints16 and move it to wnd16.c.
2009-12-22 13:48:24 +01:00
Alexandre Julliard
1d1f8e2a2c
user32: Move DestroyIcon32 implementation to user16.c.
2009-12-22 13:48:19 +01:00
Alexandre Julliard
0fbe20a254
user32: Move freeing of a 16-bit module's classes to wnd16.c.
2009-12-22 12:33:33 +01:00
Alexandre Julliard
e3bcc11beb
user32: Move freeing of a 16-bit module's icons to user16.c.
2009-12-22 12:16:24 +01:00
Alexandre Julliard
d5b270eadd
user32: Reimplement loading of 16-bit cursors and icons using 16-bit resource functions.
2009-12-22 12:14:46 +01:00
Alexandre Julliard
5a35c490a1
user32: Always return the actual pointer instead of a winproc handle in WINPROC_GetProc16.
2009-12-22 12:12:36 +01:00
Alexandre Julliard
3806f9aee9
user32: Move a number of 16-bit cursor/icon functions to user16.c.
2009-12-21 15:36:52 +01:00
Alexandre Julliard
671b4d129d
user32: Get rid of the CURSORICON_Copy internal function.
2009-12-21 15:36:52 +01:00
Alexandre Julliard
7de210fb5c
user32: Reimplement CopyIcon16/CopyCursor16 using CreateCursorIconIndirect16.
2009-12-21 15:36:52 +01:00
Alexandre Julliard
001abc3c62
user32: Use CreateIconIndirect to implement CreateCursor.
2009-12-21 15:36:52 +01:00
Mike Kaplinskiy
075a1e0e4d
user32: Fix color mask handling in CreateIconIndirect.
2009-12-21 15:01:25 +01:00
Michael Stefaniuc
6c7c2401ad
user32/tests: Don't cast NULL to an integer type.
2009-12-21 15:01:25 +01:00
Alexandre Julliard
8e1bd0c893
user32: Fix the string style check for comboboxes.
2009-12-21 15:01:22 +01:00
Alexandre Julliard
cb060d6449
user32: Support calling a 32-bit procedure even without a corresponding thunk in CallWindowProc16.
2009-12-21 15:01:02 +01:00
Alexandre Julliard
ce50559013
user32: Send all CreateWindow calls through the WoW wrapper to allow mapping 16-bit instances.
2009-12-21 15:00:35 +01:00
Alexandre Julliard
25d7e0b968
user32: Move wsprintf16 to user16.c.
2009-12-18 12:44:26 +01:00
Alexandre Julliard
77ab435402
user32: Make WINPROC_AllocProc take a unicode flag for consistency with the other winproc functions.
2009-12-18 12:41:59 +01:00
Alexandre Julliard
d081a7352c
user32: Simplify window procedure allocation for the builtin classes.
2009-12-18 12:39:13 +01:00
Alexandre Julliard
6b0cdc1922
user32: Pre-allocate the window procedure for the message class.
2009-12-18 12:38:22 +01:00
Alexandre Julliard
e6f15c5886
user32: Pre-allocate the window procedure for the menu class.
2009-12-18 12:37:58 +01:00
Alexandre Julliard
d88c34099b
user32: Pre-allocate the window procedure for the icon title class.
2009-12-18 12:37:05 +01:00
Alexandre Julliard
0c4e151ee9
user32: Pre-allocate the window procedure for the desktop class.
2009-12-18 12:36:33 +01:00
Alexandre Julliard
6b78e24a09
user32: Move EnumProps16 to wnd16.c.
2009-12-17 17:24:16 +01:00
Alexandre Julliard
15000f32b6
user32: Move the 16-bit menu functions to user16.c.
2009-12-17 15:04:21 +01:00
Alexandre Julliard
8494682f2d
user32: Move 16-bit window creation functions to 16-bit files.
2009-12-17 15:03:32 +01:00
Alexandre Julliard
4b3c0e31d0
user32: Use W structures in window creation code.
2009-12-17 15:00:38 +01:00
Alexandre Julliard
bfcfe437e2
user32: Move loading of the 16-bit window menu to CreateWindowEx16.
2009-12-17 14:48:06 +01:00
Alexandre Julliard
aabe5f150f
user32: Move 16-bit instance normalization to CreateWindowEx16.
2009-12-17 14:36:26 +01:00
Alexandre Julliard
1b2ea8b2e9
user32: Pre-allocate the window procedure for DefWindowProc.
2009-12-17 13:25:50 +01:00
Alexandre Julliard
53393b0f1c
user32: Pre-allocate the window procedure for the MDI client class.
2009-12-17 13:25:16 +01:00
Alexandre Julliard
0cbf191add
user32: Pre-allocate the window procedure for the dialog class.
2009-12-17 13:09:50 +01:00
Alexandre Julliard
80a09a7899
user32: Pre-allocate the window procedure for the static class.
2009-12-17 13:09:50 +01:00
Alexandre Julliard
1e43d19753
user32: Pre-allocate the window procedure for the scrollbar class.
2009-12-17 13:09:50 +01:00
Alexandre Julliard
c0f3f5a1d2
user32: Pre-allocate the window procedure for the listbox class.
2009-12-17 13:09:50 +01:00
Alexandre Julliard
87ede8949a
user32: Get rid of the EDIT_winproc_handle variable.
2009-12-17 13:09:50 +01:00
Alexandre Julliard
6400dabf40
user32: Pre-allocate the window procedure for the edit class.
2009-12-17 13:09:50 +01:00
Alexandre Julliard
05cf0ff29f
user32: Pre-allocate the window procedure for the combobox class.
2009-12-17 13:09:50 +01:00
Alexandre Julliard
87f83f8618
user32: Pre-allocate the window procedure for the button class.
2009-12-17 13:09:49 +01:00
Alexandre Julliard
7265e89226
server: Set the idle event when retrieving a timer message.
2009-12-16 18:18:07 +01:00
Alexandre Julliard
92e704edc5
server: Don't set the idle event when waiting for a message reply.
2009-12-16 18:06:38 +01:00
Alexandre Julliard
7d4e28480d
server: Any thread can set the idle event, don't treat the first one differently.
2009-12-16 18:06:32 +01:00
Alexandre Julliard
b57cc5561b
server: Don't reset the idle event when the client stops waiting.
2009-12-16 18:06:14 +01:00
Alexandre Julliard
d1dc48d8dc
server: Don't set the idle event when a queue is destroyed, instead return success in WaitForInputIdle on process exit.
2009-12-16 18:00:34 +01:00
Alexandre Julliard
ea4babc511
user32/tests: Always reset events when starting a WaitForInputIdle test.
2009-12-16 18:00:12 +01:00
Alexandre Julliard
314d2c3e1c
user32: Add a Wow handler for the mdi client class.
2009-12-16 13:22:08 +01:00
Alexandre Julliard
b51311d60c
user32/tests: Fix a number of message test failures on various Windows boxes.
2009-12-16 12:42:40 +01:00
Alexandre Julliard
fb97908119
user32: Move the 16-bit message mapping functions to msg16.c.
2009-12-15 20:18:47 +01:00
Alexandre Julliard
552fc29b26
user32: Move 16-bit winproc functions to msg16.c.
2009-12-15 20:15:02 +01:00
Alexandre Julliard
fc0244cb32
user32: Store the 16-bit winproc in a different array from the 32-bit A/W ones.
2009-12-15 20:14:25 +01:00
Alexandre Julliard
73c93466a2
user32: Move more 16-bit winproc functions inside the i386 ifdef.
2009-12-15 20:13:11 +01:00
Alexandre Julliard
6af1df86ce
user32: Add 16-bit translation for parameters of the WM_H/VSCROLL edit messages.
2009-12-15 16:09:13 +01:00
Alexandre Julliard
8649f73056
user32: Turn the static winproc into a Wow handler.
2009-12-15 16:09:13 +01:00
Alexandre Julliard
3dc6317fc6
user32: Turn the scrollbar winproc into a Wow handler.
2009-12-15 16:09:13 +01:00
Alexandre Julliard
57e5c8f67a
user32: Turn the edit winproc into a Wow handler.
2009-12-15 16:09:13 +01:00
Alexandre Julliard
9f12c730e1
user32: Turn the listbox winproc into a Wow handler.
2009-12-15 16:09:13 +01:00
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
Aric Stewart
98a2b202dd
user32: Update Japanese resources.
2009-06-22 12:58:38 +02:00
Nicolas Le Cam
1d7d110f1c
user32/tests: Ignore WM_TIMECHANGE message.
2009-06-22 11:22:30 +02:00
Dmitry Timoshkov
45c8e64057
user32: Invalidate button on WM_KILLFOCUS, like Windows does.
2009-06-18 15:17:28 +02:00
Paul Vriens
267c39bc9c
user32/tests: Skip some tests on Win9x/WinME.
2009-06-15 13:42:27 +02:00
Dmitry Timoshkov
acb05666bb
user32: Add a test for PeekMessage((HWND)-1), make it pass under Wine.
2009-06-12 17:33:16 +02:00
Dmitry Timoshkov
8e0600221d
user32: Add support for SPI_GETFOCUSBORDERWIDTH and SPI_GETFOCUSBORDERHEIGHT.
2009-06-11 17:36:39 +02:00
Alexandre Julliard
031c73af30
user32: Disable assert() for the mingw build since mingw gets confused trying to import MessageBoxA.
2009-06-08 16:45:54 +02:00
Gerald Pfeifer
ae0ddb37c2
user32: Fix logic condition in SPY_DumpStructure().
2009-06-08 14:28:42 +02:00
Alexandre Julliard
7b40a2fa95
user32/tests: More systematically ignore the messages we don't care about.
2009-06-04 12:17:48 +02:00
Alexandre Julliard
52ad8123f9
user32/tests: Add more synchronization in the exit thread test to avoid races.
2009-06-04 12:17:42 +02:00
Paul Vriens
f9ecd7397e
user32/tests: Fix a test failure on Win95.
2009-06-04 12:12:07 +02:00
Paul Vriens
96ef5d38af
user32/tests: Remove a trace() message.
2009-06-04 12:12:02 +02:00
Alexandre Julliard
d25f71b553
user32/tests: Add tests for message sequence of window destruction at thread exit.
2009-06-03 11:31:10 +02:00
Alexandre Julliard
95f8371a16
user32: Use a simplified sequence to destroy windows at thread exit, since we don't want to send messages.
2009-06-03 11:30:29 +02:00
Alexandre Julliard
f922283335
user32/tests: Only check the foreground window when it belongs to the current thread.
2009-06-02 11:57:22 +02:00
Alexandre Julliard
788cdbe6fd
user32/tests: Fix the listbox delete test on NT4.
2009-06-02 11:57:22 +02:00
André Hentschel
ef016c32c1
winex11: Fix Ctrl+Shift+Tab translation.
2009-06-02 11:57:21 +02:00
Alexandre Julliard
341cea514f
user32/tests: Make some sysparams registry key optional, and fix some other failures on old Windows platforms.
2009-06-01 16:16:05 +02:00
Alexandre Julliard
750fcebadb
user32/tests: Remove tests for internal DDE handle format, we don't care how the handles are implemented.
2009-06-01 16:16:05 +02:00
Paul Vriens
37bba53eb7
user32: Fix Dutch translations.
2009-06-01 16:16:01 +02:00
Gerald Pfeifer
bb902d6810
user32/tests: Remove unused SAME macro.
2009-05-29 11:27:05 +02:00
Alexandre Julliard
83cb24f9b4
user32/tests: Fix some pointer conversion warnings on 64-bit.
2009-05-28 15:24:31 +02:00
André Hentschel
cc688148ac
winex11: Fix Ctrl+Tab translation.
2009-05-28 15:02:01 +02:00
Austin English
5f2a3d8467
user32: Downgrade a FIXME to a WARN.
2009-05-28 12:43:29 +02:00
Nikolay Sivov
25dac198c3
user32: Add a stub for DisableProcessWindowsGhosting.
2009-05-27 11:11:36 +02:00
Gerald Pfeifer
551892b071
user32/tests: Fix MODIFIED macro.
2009-05-25 14:25:42 +02:00
Dmitry Timoshkov
c293a535c0
user32: Invalidate a being removed listbox item before deleting it as it's been done before d2ecb11941
.
2009-05-19 11:58:53 +02:00
Paul Vriens
334efcde13
user32/tests: Fix test failures on Win9x/WinME.
2009-05-13 17:11:22 +02:00
Alexandre Julliard
4bd4812b80
user32/tests: Add an optional message for Win95.
2009-05-13 11:54:55 +02:00
Alexandre Julliard
d6c8a003e1
user32/tests: Add more systematic support for ignoring certain messages.
2009-05-12 12:09:30 +02:00
Alexandre Julliard
2c882507da
user32/tests: Fix the LB_DELETESTRING for older Windows versions.
2009-05-12 12:09:07 +02:00
Alexandre Julliard
8432ff70bb
user32/tests: Fix the window creation on Win64.
2009-05-07 14:44:22 +02:00
Eric Pouech
a0053ab9aa
user32: Make ddeml.dll into a stand-alone 16bit module.
2009-05-06 12:19:37 +02:00
Eric Pouech
3c3ba77179
user32: Clearly separate the 16bit code out of user32.
2009-05-06 12:06:52 +02:00
Alexandre Julliard
1fa15f3d2f
user32: Make sure the system params DC cannot be deleted.
2009-05-05 15:36:44 +02:00
Nicolas Le Cam
ffba5470c0
user32/tests: Fix scroll tests when theming is disabled.
2009-05-05 11:51:00 +02:00
Rein Klazes
1b1e0027db
user32: Combine horizontal and vertical window scroll bar info in a single structure.
2009-05-04 14:57:03 +02:00
Francois Gouget
8a46d0eaf5
Assorted spelling fixes.
2009-05-04 12:53:29 +02:00
Nicolas Le Cam
321b2f00f3
user32/tests: Fix VK_RMENU input tests on localized Windows.
2009-05-04 12:52:07 +02:00
Rein Klazes
3e7f226985
user32/tests: Fix a test in edit.c that was not testing what it was supposed to test.
2009-05-01 13:14:11 +02:00
Rein Klazes
a240254d36
user32/tests: Show that vertical and horizontal window scroll bar info is not created independently.
2009-04-30 13:57:12 +02:00
Dmitry Timoshkov
d2ecb11941
user32: Add the tests for LB_DELETESTRING, make them pass under Wine.
2009-04-29 13:07:52 +02:00
Alexandre Julliard
5515b022ba
user32/tests: Don't try to unpack or free invalid handles.
2009-04-24 13:40:42 +02:00
Alexandre Julliard
b5346a8ce3
user32: Fix the DDE service formatting for 64-bit.
2009-04-24 13:40:42 +02:00
Alexandre Julliard
095c38e7c4
user32/tests: Fix a couple of dimension checks on W2k3 and Vista.
2009-04-24 12:18:02 +02:00
Michael Stefaniuc
69680296ee
user32/tests: Don't use the long type.
2009-04-22 13:13:51 +02:00
Alexandre Julliard
ffe30a5c65
user32/tests: Fix a few sysparams tests on various Windows versions.
2009-04-22 12:55:38 +02:00
Huw Davies
2ec629afd9
user32/tests: Fix tests on win9x.
2009-04-21 13:26:25 +02:00
Francois Gouget
5ef481922f
Assorted spelling fixes.
2009-04-20 15:25:26 +02:00
Huw Davies
0b6d74c428
winex11.drv: Fix typo so that emf -> mfpict synthesis works.
2009-04-20 14:13:46 +02:00
Huw Davies
0d4451a85d
winex11.drv: Fix ordering of synthesized text formats.
2009-04-20 14:13:40 +02:00
Rein Klazes
dbfbce975d
user32: When repainting a static control with SS_BITMAP style, do not erase the background if there is no valid bitmap to paint.
2009-04-16 12:37:47 -05:00
Hans Leidekker
ed70c76add
user32: By default, return all zeroes in the first half of the keyboard layout name.
2009-04-14 15:25:52 -05:00
Alexandre Julliard
287d22eba3
user32/tests: Fix a couple of test failures on Windows.
2009-04-10 20:45:08 +02:00
Patrick Gauthier
9096368b6a
user32: Handle magic font size 0x7fff in dialog templates correctly.
2009-04-10 11:33:46 +02:00
Rein Klazes
89a170ffa1
user32/tests: Avoid a few unneeded test failures in sysparams.c.
2009-04-08 11:37:58 +02:00
Rein Klazes
e861d8be43
user32: Fix for the ending of menu tracking in the default handler of WM_CANCELMODE message with test.
2009-04-03 13:25:31 +02:00
Rein Klazes
8ac8957a36
user32: In COMBO_WindowPosChanging() do not change the height of the the dropped rectangle, if the new height is too small.
2009-04-03 13:01:14 +02:00
Rein Klazes
ebbf99abce
user32/tests: In sysparams fix another case where a test changes a users desktop setting.
...
Made several tests pass on NT4 (no SP), Vista and Win2k8.
2009-04-02 16:28:30 +02:00
Nikolay Sivov
a2b7aafdae
user32: Implemented GetWindowRgnBox with some tests.
2009-04-02 15:09:55 +02:00
Rein Klazes
5396fbf97d
user32/tests: Show that a submenu is still functional after calling DestroyMenu().
2009-03-27 15:51:25 +01:00
Patrick Gauthier
08c0ddec80
user32/tests: Check effect of magic font height value 0x7fff in dialog template.
2009-03-25 12:43:46 +01:00
Rein Klazes
d75b0cdc98
user32: In MENU_SuspendPopup() make sure the right message is removed.
2009-03-25 12:39:10 +01:00
Rein Klazes
3aec62dcf6
user32/tests: In sysparams.c disable some Get/Set border tests for now. These may permanently change desktop settings of the testers.
2009-03-23 13:23:46 +01:00
Alexandre Julliard
10350c19a0
user32/tests: Print a more useful line number in check_class and check_instance tests.
2009-03-13 11:30:15 +01:00
Alexandre Julliard
0caa310c37
user32/tests: Add optional restore sequence for Vista.
2009-03-13 11:29:53 +01:00
Alexandre Julliard
28582dbf6c
user32/tests: Skip shift+button test if we don't receive the event.
2009-03-11 13:03:32 +01:00
Alexandre Julliard
943ae1f5a6
user32/tests: SetForegroundWindow sometimes fails on Win98.
2009-03-11 13:03:32 +01:00
Nikolay Sivov
2948ec6a70
user32: Button should get captured when highlighted with VK_SPACE.
2009-03-10 14:51:57 +01:00
Alexandre Julliard
925c1c4ed2
user32/tests: Fix some message sequences for Vista and Win9x.
2009-03-09 17:54:16 +01:00
Alexandre Julliard
60ed3428da
user32/tests: Avoid snprintf, it's broken on Mingw.
2009-03-09 17:52:08 +01:00
Rein Klazes
366334c2fa
user32: Check for invalid menu handle passed to TrackPopupMenu and TrackPopupMenuEx.
2009-03-06 12:49:04 +01:00
Alexandre Julliard
411c229654
user32/tests: Add more optional messages for Vista and Win9x.
2009-03-06 12:38:34 +01:00
Alexandre Julliard
6eccf2a3fa
user32/tests: Skip menu test if sending input failed. Use VK_MENU instead of VK_LMENU.
2009-03-05 16:16:24 +01:00
Alexandre Julliard
903b52e723
user32/tests: Mark a couple of painting messages as optional.
2009-03-05 16:16:24 +01:00
Nikolay Sivov
258d953a3f
user32: Use 1 unit caret width for Edit control.
2009-03-05 12:48:08 +01:00
Nikolay Sivov
032356ec37
user32: Disable scroll bar control window when both buttons disabled.
2009-03-05 12:48:05 +01:00
Alexandre Julliard
d62c05f720
user32: Make mouse.drv into a stand-alone 16-bit module.
2009-03-04 14:32:56 +01:00
Alexandre Julliard
c2e52469fe
user32: Make keyboard.drv into a stand-alone 16-bit module.
2009-03-04 14:30:37 +01:00
Alexandre Julliard
02ada6e477
user32: Make display.drv into a stand-alone 16-bit module.
2009-03-04 14:28:32 +01:00
Alexandre Julliard
114da7c46b
user32/tests: Add some more optional messages.
2009-03-03 13:20:49 +01:00
Alexandre Julliard
e256e988c5
user32/tests: Fix a couple of failing menu tests.
2009-03-03 13:20:34 +01:00
Alexandre Julliard
d387cf3251
user32: Use MAKEWPARAM instead of MAKELONG for menu messages.
2009-03-03 13:20:21 +01:00
Rein Klazes
5c130c813a
user32: MENU_TrackMenu, called from TrackPopupMenu(), should send WM_ENTERIDLE message with the menu window handle as lparam with test.
2009-03-02 15:06:57 +01:00
Paul Vriens
66bd3d428f
user32/tests: Fix some test failures on Win98/WinME.
2009-03-02 14:51:50 +01:00
Michael Stefaniuc
214b40b109
user32: Remove superfluous pointer casts.
2009-03-02 12:11:38 +01:00
Rein Klazes
471e949cff
user32: In SetMenuInfo() implement the MIM_APPLYTOSUBMENUS. Also set last error if called with invalid parameters with tests.
2009-02-27 14:16:23 +01:00
Alexandre Julliard
af0029925b
user32/tests: Fix some message sequences for Win9x.
2009-02-26 15:13:25 +01:00
Alexandre Julliard
affd20d9c8
user32/tests: Fix some input tests on Win9x and NT4.
2009-02-25 23:30:13 +01:00
Alexandre Julliard
33d4c7c514
user32/tests: Add some more optional messages.
2009-02-25 12:37:07 +01:00
Alexandre Julliard
0db3d3cd2e
user32/tests: Fix a few more input test failures on Windows.
2009-02-25 12:37:06 +01:00
Rein Klazes
bdb770e10e
user32: Refine the size calculations for menu items with HBMMENU_POPUP magic bitmaps with some conformance tests.
2009-02-25 12:36:51 +01:00
Alexandre Julliard
6c8e3a8539
user32: Move a few 16-bit user functions to user16.c where they belong.
2009-02-24 17:36:50 +01:00
Alexandre Julliard
f728c19a73
user32/tests: Add a couple of optional messages.
2009-02-24 16:57:28 +01:00
Alexandre Julliard
5771166aa7
user32/tests: Skip more input tests if we can't queue keyboard input.
...
Fix some tests on Win9x.
2009-02-24 16:57:28 +01:00
Francois Gouget
8b28508d2b
user32/tests: Use win_skip() to skip over unimplemented functionality.
2009-02-23 12:21:21 +01:00
Aurimas Fischer
f322cc3d1f
user32: Add Lithuanian translation.
2009-02-23 12:19:54 +01:00
Austin English
f1ea9f6e79
user32: Add a missing HeapFree.
2009-02-23 12:19:38 +01:00
Alexandre Julliard
fadc8afc79
user32/tests: Print all the unexpected messages we received. Fix a couple of sequences.
2009-02-21 12:57:23 +01:00
Alexandre Julliard
2e2b1512a9
user32/tests: Add some optional keystrokes for AltGr key.
2009-02-21 12:56:52 +01:00
Alexandre Julliard
9120ce53f1
user32/tests: Remove an unreliable pixel test.
2009-02-20 18:46:05 +01:00
Alexandre Julliard
07d9d1fc1f
user32/tests: Skip some message tests if we fail to queue events.
2009-02-20 18:46:05 +01:00