Jacek Caban
90c13be9dd
win32u: Move NtUserInternalGetWindowText implementation from user32.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-08 22:43:36 +01:00
Jacek Caban
b3d25fbe3c
win32u: Move NtUserDrawIconEx implementation from user32.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 17:31:42 +01:00
Rafał Harabień
9e0aa5ef81
user32: Send WM_CTLCOLORSTATIC for all static control types.
...
Signed-off-by: Rafał Harabień <rafalh92@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 10:55:47 +01:00
Rafał Harabień
a6faf54b16
user32: Fix handling of SS_ETCHEDHORZ/SS_ETCHEDVERT static control styles.
...
Instead of drawing the frame in WM_PAINT use WS_EX_STATICEDGE style that
adds the frame outside of the client rect and change control size after
creation to make it look like a line.
Signed-off-by: Rafał Harabień <rafalh92@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 10:54:39 +01:00
Dmitry Timoshkov
be8501ac6f
user32: Check control type in the STM_SETIMAGE/STM_SETICON handlers before calling the helpers.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-18 20:08:44 +02:00
Alexandre Julliard
5ad25c293b
user32: Use wide character string literals.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-21 19:09:59 +02:00
Nikolay Sivov
927956db67
user32/static: Use correct brush color for centered image background.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-02 20:47:11 +02:00
Nikolay Sivov
1ae05c04a2
user32: Remove confusing comments.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-08 13:10:50 +01:00
Nikolay Sivov
c5dda71cd4
user32/static: Allow setting NULL text.
2015-03-23 16:38:09 +09:00
Huw Davies
3cd145f63f
user32: Merge the blitting of the centred and non-centred cases.
2014-10-29 20:53:12 +09:00
Marcus Meissner
0ba1bfb062
user32: DrawText gets a 32bit flag, not a 16bit flag.
2011-05-05 17:28:47 +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
Marcus Meissner
36f9248c1a
user32: Initialize hICON to NULL (Coverity).
2009-12-30 16:12:24 +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
d081a7352c
user32: Simplify window procedure allocation for the builtin classes.
2009-12-18 12:39:13 +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
8649f73056
user32: Turn the static winproc into a Wow handler.
2009-12-15 16:09:13 +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
62ac036bc6
user32: Add a helper to retrieve the dimensions of an icon.
2009-10-15 20:00:00 +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
Michael Stefaniuc
214b40b109
user32: Remove superfluous pointer casts.
2009-03-02 12:11:38 +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
Alexandre Julliard
5cc82b07b3
user32: Added support for WS_EX_RIGHT in the static control.
2008-04-17 19:26:43 +02:00
Alexandre Julliard
bfe88a00f8
user32: Store the builtin class names in Unicode.
2007-11-01 12:55:00 +01:00
Mikolaj Zalewski
613cfc2870
user32: Static controls should have a clipping region set while sending the WM_CTLCOLORSTATIC.
2007-08-30 12:34:31 +02:00
Dmitry Timoshkov
3c9e7a7f33
wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility.
2007-05-25 20:37:56 +02:00
Dmitry Timoshkov
21bcfd72b0
user32: Make some data const.
2006-11-28 12:36:08 +01:00
Dmitry Timoshkov
53cf91bced
user32: Restore the len == 0 check which got lost in a previous patch.
2006-11-22 11:39:11 +01:00
Dmitry Timoshkov
a7c1b0e0c6
user32: Add a rudimentary WM_SETFONT message test for the static control, make it pass under Wine.
2006-11-21 15:03:11 +01:00
Alexandre Julliard
b8a2e3b8a4
user32: Renamed the user/ directory to user32.
2006-11-16 14:49:25 +01:00