Alexandre Julliard
ab4a5a327d
user32: Propagate the LoadImage flags into the low-level loader functions.
2011-01-28 12:42:56 +01:00
Marcus Meissner
6e077e0bc0
user32: Get MDI icon as close the "small icon" as possible.
2011-01-28 12:03:50 +01:00
Greg Geldorp
0406b5d543
user32/tests: Fix edit tests.
2011-01-24 14:43:26 +01:00
Greg Geldorp
f61c8c68b6
user32/tests: Fix DDE test failures on DBCS machines.
2011-01-17 13:22:05 +01:00
Alexandre Julliard
39558f8d81
user32: Convert menu and string table resources to po files.
2011-01-13 17:24:15 +01:00
Greg Geldorp
2b0d8ed7c3
user32/tests: Fix menu test failures on East-Asian machines.
2011-01-13 15:22:00 +01:00
André Hentschel
1bf8612718
user32/tests: Don't test function directly when reporting GetLastError().
2011-01-05 17:56:04 +01:00
Mikhail Maroukhine
f859535774
user32: Add constness to params and variables.
2011-01-04 16:09:53 +01:00
Greg Geldorp
4856c299ba
user32/tests: Skip DefWindowProc tests on Vista+.
2011-01-03 11:54:03 +01:00
André Hentschel
cbf967d600
user32/tests: Don't test function directly when reporting GetLastError().
2010-12-31 11:44:26 +01:00
Alexandre Julliard
2c63cf58ea
user32: Don't call GetModuleFileNameW under the user lock.
2010-12-14 13:49:14 +01:00
Alexandre Julliard
ee44c7c0f4
user32: Fix coordinates mapping for the desktop window in the explorer process.
2010-12-13 12:43:34 +01:00
Alexandre Julliard
1829fc51c1
user32: Return some fake information for an inter-process GetWindowPlacement.
2010-12-09 20:43:26 +01:00
Austin Lund
555e59a454
user32/tests: Disable IME for msg tests.
2010-12-03 14:28:31 +01:00
Austin Lund
0fe32508a7
user32/tests: Close second window in DBCS WM_CHAR tests.
2010-12-03 14:28:31 +01:00
André Hentschel
7e5da86076
user32/tests: Skip DDE tests on win9x.
2010-12-01 17:16:22 +01:00
Austin Lund
c82aa505e9
user32/tests: Fix test failures by disabling IME when testing unicode input.
2010-11-29 19:52:06 +01:00
André Hentschel
37adf3a6be
user32/tests: Remove obsolete comment.
2010-11-29 19:51:57 +01:00
Alexandre Julliard
14a77db43f
user32: Add a stub for IsGUIThread().
2010-11-16 21:54:18 +01:00
Alexandre Julliard
30554d4ef1
user32: Check structure size in GetGUIThreadInfo.
2010-11-16 21:54:03 +01:00
Paul Vriens
3d20c8777f
user32: Update Serbian (Latin and Cyrillic) translations.
...
Translation by Đorđe Vasiljević.
2010-11-08 11:56:12 +01:00
André Hentschel
e054fc2310
user32: Don't paint new button styles instead of crashing.
2010-11-04 11:55:48 +01:00
Alexandre Julliard
8c963852f8
explorer: Make the systray window look more like a real taskbar in desktop mode.
2010-11-02 10:32:35 +01:00
Yaron Shahrabani
21c1034504
user32: Added Hebrew translation.
2010-10-27 12:00:08 +02:00
Austin Lund
ccd4479ce9
user32/tests: Fixed WM_SETFONT combo box tests.
2010-10-26 11:57:57 +02:00
Austin Lund
d732cd7412
user32/tests: Fix some combo box tests for different font sizes.
2010-10-25 13:52:51 +02:00
Dmitry Timoshkov
2f0b9dd3bf
user32: FindWindow() should treat an empty title same way as NULL.
2010-10-19 11:00:32 +02:00
Vladimir Panteleev
824c5089d2
user32: Update last active popup for all parents.
2010-10-18 19:47:58 +02:00
Trygve Vea
293fc4cd28
user32: Updated Norwegian translation.
2010-10-15 16:18:50 +02:00
Alexandre Julliard
e8723a5dee
user32: Fix destruction of the active cursor.
2010-10-13 15:38:06 +02:00
Alexandre Julliard
1aab7ea837
user32/tests: Add more tests for DestroyCursor on the active cursor.
2010-10-13 13:58:19 +02:00
Gerald Pfeifer
8c7e2f99db
user32: Removed some code that is unused after revision 751a09e983
.
2010-10-13 11:19:53 +02:00
Alexandre Julliard
19eea5fa6b
user32: Improve error checking in GetIconInfo.
2010-10-12 23:24:11 +02:00
Alexandre Julliard
bb8590f6ce
user32: Fix a DC leak in DrawIconEx.
2010-10-12 23:01:22 +02:00
Alexandre Julliard
90ba8ceb07
user32: Correctly handle mouse events on a size grip scrollbar.
2010-10-12 11:43:21 +02:00
Alexandre Julliard
299f2b354e
user32: Make sure AdjustWindowRect and WM_NCCALCSIZE yield the same result for WS_EX_DLGMODALFRAME windows.
2010-10-12 11:28:51 +02:00
Alexandre Julliard
76e7fcc9d8
user32: Store icon objects directly in the cache instead of using a separate structure.
2010-10-11 17:11:27 +02:00
Alexandre Julliard
76cd25c875
user32: Reimplement icon copying using CURSORICON_Load.
2010-10-11 17:11:27 +02:00
Alexandre Julliard
6e7846e33e
user32: Return the module and resource name in GetIconInfoEx.
2010-10-11 17:11:27 +02:00
Alexandre Julliard
751a09e983
user32: Store the module and resource name information for icons.
2010-10-11 17:11:27 +02:00
Louis Lenders
62b9df9031
user32/tests: Test FindWindowEx for empty window title.
2010-10-11 17:11:25 +02:00
Alexandre Julliard
d1df0c42ea
user32/tests: Test GetIconInfoExW too since the A version is broken on Win64.
2010-10-11 12:54:04 +02:00
Alexandre Julliard
d9ae28926b
user32: Get rid of the unused icon cache refcount.
2010-10-08 15:24:09 +02:00
Alexandre Julliard
975bff627b
user32: Convert the icon cache to a standard Wine list.
2010-10-08 15:24:09 +02:00
Alexandre Julliard
990842a322
user32/tests: Tests for GetIconInfoExA/W.
2010-10-08 15:24:09 +02:00
Alexandre Julliard
d3de0c265b
user32: Implemented GetIconInfoExA/W.
2010-10-08 15:23:47 +02:00
Alexandre Julliard
beba1f1586
user32: Make sure the driver CreateCursorIcon() entry point is always called.
2010-10-08 11:56:46 +02:00
Alexandre Julliard
d076dfa8e8
server: Update child window positions when resizing a mirrored parent.
2010-10-05 11:01:21 +02:00
Alexandre Julliard
377820e313
user32: Don't rely on the cached position for windows that have a mirrored parent.
2010-10-05 11:01:21 +02:00
Alexandre Julliard
dfab8824c5
user32/tests: Make some variables static.
2010-10-01 13:37:44 +02:00
Louis Lenders
6e4e8fb07f
user32: UpdateWindow doesn't accept a NULL hwnd.
2010-09-29 11:23:57 +02:00
Michael Stefaniuc
5a2cc94105
user32: Simplify the error handling in BITMAP_Load().
...
This fixes a memleak on an error path (Smatch).
2010-09-29 10:06:13 +02:00
Erich Hoover
7bba6234e3
user32: Add support for multiple frames in cursor format.
2010-09-28 17:33:20 +02:00
Erich Hoover
ca7163e438
user32: Prepare for multi-frame storing of icons and cursors.
2010-09-28 17:33:20 +02:00
Alexandre Julliard
2f6d41de46
user32: Free the window region once it has been set.
2010-09-27 21:06:43 +02:00
Alexandre Julliard
97611dca8b
gdi32: Implement MirrorRgn.
2010-09-27 20:45:56 +02:00
Alexandre Julliard
ddaea5456e
user32: Set the default process layout based on the file description in the version resource.
2010-09-24 15:45:54 +02:00
Alexandre Julliard
d43cc0cd82
user32: Fix the window positions when moving a child window for a RTL window.
2010-09-24 15:45:54 +02:00
Alexandre Julliard
0df8855b20
user32: Use screen coordinates for hittest checking to handle RTL windows correctly.
2010-09-24 15:45:54 +02:00
Alexandre Julliard
deb8309760
user32: Fix initial computation of client area in WM_NCCALCSIZE for RTL windows.
2010-09-24 15:45:54 +02:00
Lauri Kenttä
41d341cf4e
user32: Update Finnish translation.
2010-09-24 11:34:15 +02:00
Alexandre Julliard
9bbfcb5b07
user32: Add support for RTL window layouts in GetUpdateRgn and GetUpdateRect.
2010-09-23 17:50:11 +02:00
Alexandre Julliard
024521190a
user32: Always store the window rectangles unmirrored after SetWindowPos.
2010-09-23 17:50:10 +02:00
Alexandre Julliard
5c6a1f776a
user32: Add support for right-to-left menus.
2010-09-22 20:31:52 +02:00
Alexandre Julliard
3f026cafa5
user32: Add support for RTL window layouts in WIN_GetRectangles.
2010-09-22 20:28:20 +02:00
Alexandre Julliard
5702324b37
user32: Add support for RTL window layouts in MapWindowPoints.
2010-09-22 20:27:52 +02:00
Dmitry Timoshkov
88900f429a
user32: Make sure that SendInput always initializes the time field.
2010-09-22 12:44:22 +02:00
Dmitry Timoshkov
6cccf51645
user32: Uncomment the GetWindowPlacement() test, fill the test data with real values.
2010-09-22 12:43:43 +02:00
Dmitry Timoshkov
a7188842af
user32: UpdateLayeredWindow() should fail on non-layered or already initialized window.
2010-09-21 20:16:15 +02:00
Dmitry Timoshkov
8118430b68
user32: Do not test window state on the HCBT_SETFOCUS event, it's undefined.
2010-09-21 17:53:55 +02:00
Gerald Pfeifer
824ab969ff
user32: Fix error handling in BITMAP_Load.
2010-09-20 13:48:11 +02:00
Paul Vriens
92643eb020
user32: Fix a typo.
2010-09-19 14:59:04 +02:00
Alexandre Julliard
81b8ee863e
makefiles: Add a standard header for all makefiles to replace the common variable initializations.
2010-09-19 12:36:48 +02:00
André Hentschel
49434929c6
user32: Only select needed part of the flags.
2010-09-16 13:13:16 -05:00
Vladimir Panteleev
592d994f00
user32: Fix VK_RETURN handling in IsDialogMessage for dialogs without an IDOK.
2010-09-15 17:05:54 -05:00
Luca Bennati
623bf111c5
user32: Update Italian translation.
2010-09-13 13:30:47 -05:00
Alexandre Julliard
72533173d5
user32: Don't try to set the WS_EX_LAYOUTRTL flag on the desktop window.
2010-09-08 13:19:17 +02:00
Alexandre Julliard
4858c54a8e
user32: Avoid direct accesses to the window structure in NC_HandleNCHitTest.
2010-09-08 13:19:04 +02:00
Alexandre Julliard
ca499d070f
user32: Avoid redundant server call in WIN_GetRectangles and fix the screen coordinates mapping.
2010-09-08 13:15:29 +02:00
Alexandre Julliard
9b693ddadb
user32: Use WIN_GetRectangles where possible instead of mapping coordinates explicitly.
2010-09-07 15:11:24 +02:00
Alexandre Julliard
141defbd54
user32: Use WIN_GetRectangles where possible instead of accessing the window structure.
2010-09-07 14:55:42 +02:00
Alexandre Julliard
c5bf4976f1
user32: Pass the window styles to NC_GetInsideRect instead of accessing the window structure.
2010-09-07 14:33:13 +02:00
Alexandre Julliard
7295b6746d
user32: Add support for fetching window rectangles relative to various origins.
2010-09-07 14:31:30 +02:00
Alexandre Julliard
cd56299e2f
user32/tests: Fix a number of test failures on Windows 7.
2010-09-03 11:04:33 +02:00
Alexandre Julliard
196ec5969d
user32: Implement Get/SetProcessDefaultLayout.
2010-09-02 18:01:01 +02:00
Alexandre Julliard
942866f90d
user32: Make child windows inherit the WS_EX_LAYOUTRTL style from their parent.
2010-09-02 17:55:02 +02:00
Alexandre Julliard
30d2079574
user32: Set the DC layout to mirrored when the window has the WS_EX_LAYOUTRTL style.
2010-09-02 15:16:39 +02:00
Alexandre Julliard
0f90053575
user32: Add a common helper to set controls clip region, and make it behave correctly when mirrored.
2010-09-02 11:35:14 +02:00
Alexandre Julliard
05375a2a96
user32: Don't disable DrawFrameControl for non-text mapping modes.
2010-09-02 11:00:45 +02:00
Dmitry Timoshkov
38b8805c0c
user32: Add a bunch of GetWindowPlacement() tests, fix some simple cases.
2010-09-01 17:07:35 +02:00
Alexandre Julliard
f061743a90
user32/tests: Remove some noisy output.
2010-09-01 11:13:59 +02:00
Alexandre Julliard
cd79ec79a6
user32: Prevent changing some window styles through SetWindowLong.
2010-09-01 11:13:27 +02:00
Alexandre Julliard
5130f942da
user32: Use int64 in the spec file for 64-bit integers.
2010-08-31 14:23:48 +02:00
Anders Jonsson
876dcc96b3
user32: Update Swedish translation.
2010-08-27 11:59:38 +02:00
André Hentschel
ed69ddb37e
user32: Optimize the storage of default color values.
2010-08-26 17:43:29 +02:00
Stefan Dösinger
c293424319
user32: Make GetMessage and PeekMessage patchable.
2010-08-26 17:21:08 +02:00
Wolfram Sang
9f0f17f853
user32: Check for valid pointer in CreateIconFromResource.
2010-08-17 14:18:45 +02:00
André Hentschel
aef6e3d232
user32: Use a macro instead of direct values.
2010-08-16 17:28:55 +02:00
Dmitry Timoshkov
ea7020480b
user32: Properly pack the WM_WINE_SETWINDOWPOS internal message.
2010-08-16 12:57:08 +02:00
Dmitry Timoshkov
dfe6ae58af
user32: Protect from setting as a window owner one of its successors.
2010-08-04 17:35:22 +02:00
Dmitry Timoshkov
5aa45d9cf4
user32: Add a test for GetClassInfo, make it pass under Wine.
2010-08-03 11:43:59 +02:00
Alexandre Julliard
1472f35e82
gdi32: Replace the SelectVisRgn Wine-specific export by a private entry point.
2010-07-26 18:38:31 +02:00
Paul Vriens
c2d722e3ee
user32: Add the Serbian (Cyrillic) translation.
...
Translation by Nenad Vujic <nesa24casa@gmail.com>
2010-07-26 09:58:22 +02:00
Alexandre Julliard
bde57f0e64
user32: Don't make constants static to avoid compile error without optimization.
2010-07-24 11:17:05 +02:00
Paul Vriens
664e3e3f4a
user32: Add the Serbian (Latin) translation.
...
Translation by Nenad Vujic <nesa24casa@gmail.com>
2010-07-23 16:39:29 +02:00
Alexandre Julliard
f1ea06375d
user32: DCX_NORESETATTRS should be applied at DC release time.
2010-07-22 20:00:35 +02:00
Dylan Smith
9f32d6d6a9
user32: Prevent resize of minimized windows from SetWindowPos.
2010-07-22 12:57:04 +02:00
Dylan Smith
f35dabad99
user32/tests: Minimized windows shouldn't be resizable.
2010-07-22 12:56:41 +02:00
Michael Stefaniuc
c2756bc0c4
user32: Remove the ignored common resource attributes.
2010-07-22 11:41:36 +02:00
Dylan Smith
c51b1e6db6
user32: DefMDIChildProc sends WM_MDINEXT with active child handle.
2010-07-21 17:38:37 +02:00
Alexandre Julliard
b86d515ed6
dlls: Remove explicit imports of kernel32 and ntdll.
2010-07-21 17:38:36 +02:00
Dylan Smith
41dbacdc71
user32: RegisterClassEx should check for invalid cbSize field.
2010-07-19 14:38:16 +02:00
Sven Baars
cb07a59a80
user32: Fix the Dutch translation.
2010-07-19 14:38:16 +02:00
Vincent Povirk
1ebdd6b945
user32: Don't dump structures of some ambiguous listview messages.
2010-07-19 11:10:05 +02:00
Igor Paliychuk
7aa9011da1
user32: Ukrainian translation update.
2010-07-12 11:36:00 +02:00
André Hentschel
9c1149045f
user32/tests: The dialog for that proc has no IDCANCEL.
2010-07-07 11:30:27 +02:00
André Hentschel
f0e21b0e62
user32/tests: Test that GetDlgItem does not recurse.
2010-07-02 13:19:21 +02:00
Austin English
71fb0068af
user32: Fix a compiler warning on mingw.
2010-07-01 18:02:39 +02:00
André Hentschel
50c94bf054
user32/tests: Use if(0) instead of a comment to make sure code still compiles.
2010-06-30 11:53:08 +02:00
Alexandre Julliard
b2de316fc5
user32: Add a heuristic for Unicode mappings of DDE data on the server side.
2010-06-24 23:54:38 +02:00
Alexandre Julliard
f83bc2e50a
user32/tests: Fix more DDE test failures on Win9x.
2010-06-24 23:54:16 +02:00
Alexandre Julliard
83adf08bb7
user32/tests: Add some Unicode test cases for A/W mappings.
2010-06-24 22:17:19 +02:00
Alexandre Julliard
c58fe1f414
user32/tests: Restructure the DDE end-to-end tests to make it easier to add new cases.
2010-06-24 20:39:16 +02:00
Alexandre Julliard
fe161ec2f9
user32/tests: Fix some DDE test failures on Win9x.
2010-06-23 15:26:48 +02:00
Alexandre Julliard
f5f93d459e
user32/tests: Add more systematic tests to validate the DDE client-side A<->W conversions.
2010-06-23 15:26:48 +02:00
André Hentschel
858ae060fd
user32: Update comment.
2010-06-21 12:26:17 +02:00
Alexandre Julliard
db1c43c399
user32: Fallback to English in MessageBoxIndirect if the specified language is not supported.
2010-06-21 11:51:12 +02:00
Vitaly Lipatov
b974852ce1
Update Russian translations.
2010-06-18 16:22:07 +02:00
Paul Chitescu
bb6769f475
user32: Use a safer method of freeing user handles to prevent zeroing out a newly allocated handle.
2010-06-18 15:22:22 +02:00
Paul Vriens
aef01a24d4
user32: Add another flag to the TRACE().
2010-06-18 15:22:21 +02:00
Alexandre Julliard
f69d88b503
user32: Destroy the unused buttons in a message box instead of only hiding them.
2010-06-17 20:07:22 +02:00
Alexandre Julliard
2649f769a5
user32/tests: Fix some class tests that behave differently on WoW64.
2010-06-17 14:05:42 +02:00
Alexandre Julliard
fec9dc41f9
user32/tests: Ignore repeat key flag that causes occasional failures on Windows.
2010-06-17 13:37:42 +02:00
Alexandre Julliard
d8867fa718
user32/tests: Expand the DCX_NORESETATTR test to make sure we check the correct DC.
2010-06-17 12:56:25 +02:00
Alexandre Julliard
d87715c831
user32: Don't try to alpha blend icons when drawing to a monochrome device.
2010-06-16 14:54:37 +02:00
Paul Vriens
fa5fe06ca1
user32: Update the Danish translation and convert to UTF-8.
2010-06-09 16:16:21 +02:00
Łukasz Wojniłowicz
c2f55b3434
user32: Update the Polish translation.
2010-06-09 10:57:38 +02:00
Wolfram Sang
0dfedd50c3
user32: No sanity checks for BITMAPCOREINFO in BITMAP_Load.
2010-06-07 13:52:35 +02:00
Alexandre Julliard
f5f3426c87
user32: Fallback to normal icon drawing if AlphaBlend fails.
2010-05-31 12:14:27 +02:00
Alexandre Julliard
d815e582cf
user32: Only skip redraws on MDI child unmaximize if the new child is maximized.
2010-05-28 16:22:26 +02:00
Alexandre Julliard
c9d112fd94
user32: Re-enable the fast code path in CreateIconIndirect.
2010-05-28 11:22:08 +02:00
Alexandre Julliard
ed4846bed9
user32: Don't include winbase16.h.
2010-05-27 17:04:08 +02:00
Austin English
6487f3397a
user32/tests: Check return value of GetUpdateRect in test_validatergn.
2010-05-27 14:46:43 +02:00
Alexandre Julliard
e2cb88ec2d
user32: Copy icon bits by hand in CreateIconIndirect if the bitmaps can't be selected into a DC.
2010-05-26 17:36:32 +02:00
Alexandre Julliard
7ea98f680d
user32: Check the active window instead of the foreground to show/hide owned popups.
2010-05-26 10:39:01 +02:00
Alexandre Julliard
03b335b926
user32/tests: Fix a test failure in desktop mode.
2010-05-25 16:28:04 +02:00
Austin English
5396713c2b
user32/tests: Check return value of DdeClientTransaction in test_initialisation().
2010-05-24 12:52:34 +02:00
Austin English
8ee8806773
user32: Add test for drop down width in test_changesize().
2010-05-24 12:52:20 +02:00
Alexandre Julliard
5702a941ad
user32: Don't repaint the caret in SetCaretPos if the position doesn't change.
2010-05-23 09:26:05 +02:00
Michael Stefaniuc
bf7241c125
user32: Avoid using long.
2010-05-21 14:37:53 +02:00
Alexandre Julliard
50ebc10da4
user32: Get rid of the CURSORICONINFO structure in icon objects.
2010-05-21 14:37:30 +02:00
Alexandre Julliard
fb70204c69
user32: No longer store the icon bits in the icon object.
2010-05-21 14:35:11 +02:00
Alexandre Julliard
86c4a3694d
user32: Remove the CURSORICONINFO parameter in the CreateCursorIcon driver entry point.
2010-05-21 13:30:15 +02:00
Alexandre Julliard
efe1c945f2
user32: Use the stored color and mask bitmaps instead of the raw bits in GetIconInfo.
2010-05-20 16:25:44 +02:00
Alexandre Julliard
072d0b3483
user32: Use the stored color and mask bitmaps instead of the raw bits in DrawIconEx.
2010-05-20 16:25:44 +02:00
Alexandre Julliard
bb33cebe3f
user32: Store a pre-computed alpha bitmap for 32-bpp icons with an alpha channel.
2010-05-20 16:11:20 +02:00
Alexandre Julliard
f78c5c940a
user32: Store color and mask bitmaps in the cursor data.
2010-05-20 16:01:25 +02:00
Alexandre Julliard
e58afcfb2d
user32: Define an explicit structure for storing the cursor data.
2010-05-20 14:17:52 +02:00
Michael Stefaniuc
629a0b8057
user32: Avoid a potential NULL pointer dereference in a TRACE.
2010-05-20 13:47:52 +02:00
Alexandre Julliard
5decff1897
user32: Ignore the bitmap offset if it's not set.
2010-05-20 12:37:59 +02:00
Henri Verbeet
2c2e3f8665
user32: Verify we got a valid window handle in GetDCEx().
2010-05-19 16:57:59 +02:00
Michael Stefaniuc
be6ef9158d
user32: Remove superfluous "not NULL" check of the atom variable.
2010-05-19 11:17:55 +02:00
Andrew Eikum
17789c1636
Revert "user32: Don't use DLGTEMPLATE's ExStyle when creating dialogs.".
...
This reverts commit 897f11d331
.
2010-05-19 11:17:55 +02:00
Dmitry Timoshkov
cc870dc484
user32: Paint button focus in the ODA_SELECT case too.
2010-05-18 18:44:18 +02:00
Michael Stefaniuc
48e36e43dd
user32: Remove redundant not NULL check of variable item (coccicheck).
2010-05-18 18:42:07 +02:00
Dmitry Timoshkov
184c86e774
user32: Add BM_SETSTATE/BM_SETCHECK message tests for a button, make them pass under Wine.
2010-05-17 15:41:27 +02:00
Wolfram Sang
636e35d8ad
user32: Apply sanity-check in BITMAP_Load.
2010-05-17 12:42:33 +02:00
Alexandre Julliard
162d95a3ce
Fix the bitmap info size computation when masks are present.
2010-05-14 17:17:46 +02:00
Gerald Pfeifer
879328f3da
user32/tests: Make checks in test_LoadImageFile and test_LoadImage more comprehensive.
2010-05-12 14:13:14 +02:00
Alexandre Julliard
c545982472
server: Return the cursor information for a thread input, and use it for GetCursorInfo.
2010-05-11 11:27:03 +02:00
Gerald Pfeifer
173a813e6a
user32/tests: Remove variable atom which is not really used from test_Expose.
2010-05-10 18:20:36 +02:00
Wolfram Sang
f76a3b965c
user32: Honor bfOffBits in BITMAP_Load.
2010-05-10 18:20:36 +02:00
Nikolay Sivov
dcddea361f
user32: Fix selected brush color for caret bitmap creation.
2010-05-10 13:43:03 +02:00
Alexandre Julliard
eeda373f6f
user32: Fix checking of show count in ShowCursor.
2010-05-10 11:53:37 +02:00
Gerald Pfeifer
612df7ee22
user32/tests: Remove SetShellWindowEx from test_shell_window.
2010-05-10 10:17:54 +02:00
Andrew Eikum
897f11d331
user32: Don't use DLGTEMPLATE's ExStyle when creating dialogs.
2010-05-08 13:12:49 +02:00
Alexandre Julliard
159145cefe
user32: Make DrawIcon simply call DrawIconEx.
2010-05-07 12:45:39 +02:00
Alexandre Julliard
4c03fd0138
user32: Use the correct rop when blitting an icon in DrawIconEx.
2010-05-07 12:41:40 +02:00
Alexandre Julliard
a59d79c9a6
user32: Fix drawing of 1-bpp icons in DrawIconEx.
2010-05-07 12:08:29 +02:00
Alexandre Julliard
2e96abd0d4
user32: Return the icon depth instead of number of colors when loading from a .ico file.
2010-05-07 11:34:17 +02:00
Joel Holdsworth
83d5035bbe
user32: Fixed some minor glitches in oic_winlogo.ico.
2010-05-06 14:43:34 +02:00
Gerald Pfeifer
9da2bbfab7
user32/tests: Remove variable old_left_margin which is not really used from test_margins.
2010-05-04 18:38:43 +02:00
Gerald Pfeifer
7ef088b680
user32/tests: Destroy the window we created at the end of wait_idle_thread.
2010-05-04 18:36:55 +02:00
Paul Vriens
1b50493ba6
user32/tests: Run the tests again on Win95.
2010-05-03 13:57:17 +02:00
Alexandre Julliard
6551553fe6
winex11: Make the cursor window global instead of per-thread, and send it a message when the cursor changes.
2010-04-29 10:19:29 -05:00
Alexandre Julliard
bfc4c71049
user32: Only call the driver DestroyCursorIcon entry point for valid handles.
2010-04-26 14:44:00 -05:00
Wolfram Sang
94a3c0987e
user32: Ignore reserved bytes in BMP fileheader.
2010-04-26 13:02:51 -05:00
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