Piotr Caban
371cff4883
user32: Don't redeclare button state macros.
2011-06-27 15:04:55 -05:00
André Hentschel
e054fc2310
user32: Don't paint new button styles instead of crashing.
2010-11-04 11:55:48 +01: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
André Hentschel
aef6e3d232
user32: Use a macro instead of direct values.
2010-08-16 17:28:55 +02:00
Dmitry Timoshkov
cc870dc484
user32: Paint button focus in the ODA_SELECT case too.
2010-05-18 18:44:18 +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
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
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
Michael Stefaniuc
6f3b494463
user32: Remove some explicit LPARAM/WPARAM casts.
2009-12-28 12:27:13 +01:00
Alexandre Julliard
d081a7352c
user32: Simplify window procedure allocation for the builtin classes.
2009-12-18 12:39:13 +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
02e74fa8a6
user32: Implement UserRegisterWowHandlers function and add a handler for the button winproc.
2009-12-15 16:09:13 +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
Dmitry Timoshkov
523d8ceefc
user32: Make sure that focus_rect is always initialized.
2009-10-12 12:33:31 +02:00
Dmitry Timoshkov
8d54f58277
user32: Draw the whole button only if requested.
2009-07-23 13:20:21 +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
Dmitry Timoshkov
45c8e64057
user32: Invalidate button on WM_KILLFOCUS, like Windows does.
2009-06-18 15:17:28 +02:00
Nikolay Sivov
2948ec6a70
user32: Button should get captured when highlighted with VK_SPACE.
2009-03-10 14:51:57 +01:00
Francois Gouget
31df4d42b7
user32: Remove WINAPI/CALLBACK on static functions where not needed.
2008-11-25 11:50:00 +01:00
Michael Stefaniuc
4fc84eaf5a
user32: HGDIOBJ is interchangeable with other handle types; no casts are needed.
2008-10-27 11:29:54 +01:00
Austin English
6e59cd2c34
Spelling fixes.
2008-04-22 12:20:12 +02:00
Alexandre Julliard
bbd9e229e3
user32: Added support for WS_EX_RIGHT in the button control.
2008-04-17 19:26:34 +02:00
Andrew Talbot
ba596d30ce
user32: Remove unneeded casts.
2008-01-22 11:27:45 +01:00
Dmitry Timoshkov
9e3ab87a9c
user32: Make sure to setup clipping before any painting is done.
2007-12-19 12:19:58 +01:00
Dmitry Timoshkov
aec7e91d53
user32: Always clip the button painting to the client rectangle.
2007-12-17 13:01:56 +01:00
Andrew Talbot
d98b83bed5
user32: Constify some variables.
2007-11-09 12:26:23 +01:00
Alexandre Julliard
bfe88a00f8
user32: Store the builtin class names in Unicode.
2007-11-01 12:55:00 +01:00
Francois Gouget
ebadbd4bd5
Assorted spelling fixes.
2007-08-09 14:13:07 +02:00
Andrew Talbot
48d740855e
user32: Replace inline static with static inline.
2007-03-17 20:04:08 +01:00
Clinton Stimpson
f3bcc0c4f8
user32: WM_SETFONT on button doesn't repaint directly.
2007-02-06 20:23:33 +01:00
Alexandre Julliard
b8a2e3b8a4
user32: Renamed the user/ directory to user32.
2006-11-16 14:49:25 +01:00