Zhiyi Zhang
b2184e7bff
user32: Pass a scroll bar tracking info parameter to SCROLL_DrawScrollBar().
...
Pack all scroll bar tracking information in a struct and pass that struct as a parameter to
SCROLL_DrawScrollBar() instead of using global variables.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-06 09:55:46 +02:00
Zhiyi Zhang
b5abd53494
user32: Call SCROLL_DrawScrollBar() to draw arrows in SCROLL_HandleScrollEvent().
...
So that SCROLL_DrawScrollBar() can eventually be hooked by a themed scroll bar drawing function and
use a single function to draw scroll bars, instead of hooking multiple scroll bar drawing functions
that draw different parts.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-05 17:40:39 +02:00
Zhiyi Zhang
5541cf32c5
user32: Introduce a SCROLL_DrawNCScrollBar() to draw scroll bars in non-client area.
...
Having a SCROLL_DrawNCScrollBar() in scroll.c enables it to access global variables there. So that
global variables access in SCROLL_DrawScrollBar() can be moved outside of it and
SCROLL_DrawScrollBar() can then be refactored into a function without access to global variables.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-05 17:40:31 +02:00
Nikolay Sivov
ad6a8d50e8
user32/combo: Force minimal item height.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-27 22:05:44 +01:00
Zebediah Figura
8dade1bc86
user32: Get rid of icon titles.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-19 20:51:19 +01:00
Jacek Caban
36b64321b2
user32: Use the original owner used to create the dialog for WM_ENTERIDLE messages.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-11 22:09:30 +09:00
Jacek Caban
fc4b906d78
user32: Don't enable owner in DIALOG_DoDialogBox.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-11 22:09:27 +09:00
Jacek Caban
d75991d80e
user32: Removed unused owner argument.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-03 14:19:06 +09:00
Francois Gouget
30206d9f63
user32: Mark internal symbols with hidden visibility.
2015-04-01 14:13:39 +09:00
Piotr Caban
3be5c16b4d
user32: Move IME window procedure to user32.
2014-11-11 16:09:47 +09:00
Alexandre Julliard
fe441a0682
user32: Register classes once the graphics driver has been loaded, except for the desktop class.
2013-10-24 19:01:54 +02:00
Ken Thomases
029aec19ff
user32: Remove dead code for suppressing menu drawing.
2013-07-27 11:50:12 -05:00
Alexandre Julliard
1247225841
user32: Refresh the desktop when the wallpaper is changed.
2012-12-03 18:24:34 +01:00
Alexandre Julliard
5d1a147163
user32: Add mouse tracking on caption right-clicks to avoid messing with the capture.
2012-02-15 16:27:12 +01:00
Francois Gouget
aaec50d44c
user32: SCROLL_SetNCSbState() is not used anymore so remove it.
2011-05-03 14:38:06 +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
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
f89aaa65ad
user32: Store 32-bit and 16-bit cursors/icons in independent structures.
2010-02-08 17:49:47 +01:00
Jason Edmeades
f27b032d50
user32: Preselect all editbox text when combo gets focus.
2010-01-25 18:05:03 +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
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
5e640271f2
user32: Remove the no longer used WIN_ISWIN32 flag.
2009-12-23 21:10:59 +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
b36ca48608
user32: Call the cursor/icon handle allocation functions through the WoW handlers table.
2009-12-22 17:27:57 +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
0fbe20a254
user32: Move freeing of a 16-bit module's classes to wnd16.c.
2009-12-22 12:33:33 +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
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
8494682f2d
user32: Move 16-bit window creation functions to 16-bit files.
2009-12-17 15:03:32 +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
314d2c3e1c
user32: Add a Wow handler for the mdi client class.
2009-12-16 13:22:08 +01:00
Alexandre Julliard
552fc29b26
user32: Move 16-bit winproc functions to msg16.c.
2009-12-15 20:15:02 +01:00
Alexandre Julliard
8649f73056
user32: Turn the static winproc into a Wow handler.
2009-12-15 16:09:13 +01:00