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