Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
481d1895
Commit
481d1895
authored
Jul 22, 2005
by
Robert Shearman
Committed by
Alexandre Julliard
Jul 22, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Native autosizes on inserting/adding buttons, so we should too.
parent
8e215629
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
toolbar.c
dlls/comctl32/toolbar.c
+5
-0
No files found.
dlls/comctl32/toolbar.c
View file @
481d1895
...
@@ -249,6 +249,7 @@ static VOID TOOLBAR_DeleteImageList(PIMLENTRY **pies, INT *cies);
...
@@ -249,6 +249,7 @@ static VOID TOOLBAR_DeleteImageList(PIMLENTRY **pies, INT *cies);
static
HIMAGELIST
TOOLBAR_InsertImageList
(
PIMLENTRY
**
pies
,
INT
*
cies
,
HIMAGELIST
himl
,
INT
id
);
static
HIMAGELIST
TOOLBAR_InsertImageList
(
PIMLENTRY
**
pies
,
INT
*
cies
,
HIMAGELIST
himl
,
INT
id
);
static
LRESULT
TOOLBAR_LButtonDown
(
HWND
hwnd
,
WPARAM
wParam
,
LPARAM
lParam
);
static
LRESULT
TOOLBAR_LButtonDown
(
HWND
hwnd
,
WPARAM
wParam
,
LPARAM
lParam
);
static
void
TOOLBAR_SetHotItemEx
(
TOOLBAR_INFO
*
infoPtr
,
INT
nHit
,
DWORD
dwReason
);
static
void
TOOLBAR_SetHotItemEx
(
TOOLBAR_INFO
*
infoPtr
,
INT
nHit
,
DWORD
dwReason
);
static
LRESULT
TOOLBAR_AutoSize
(
HWND
hwnd
);
static
LRESULT
static
LRESULT
TOOLBAR_NotifyFormat
(
TOOLBAR_INFO
*
infoPtr
,
WPARAM
wParam
,
LPARAM
lParam
);
TOOLBAR_NotifyFormat
(
TOOLBAR_INFO
*
infoPtr
,
WPARAM
wParam
,
LPARAM
lParam
);
...
@@ -2826,6 +2827,7 @@ TOOLBAR_AddButtonsA (HWND hwnd, WPARAM wParam, LPARAM lParam)
...
@@ -2826,6 +2827,7 @@ TOOLBAR_AddButtonsA (HWND hwnd, WPARAM wParam, LPARAM lParam)
}
}
TOOLBAR_CalcToolbar
(
hwnd
);
TOOLBAR_CalcToolbar
(
hwnd
);
TOOLBAR_AutoSize
(
hwnd
);
TOOLBAR_DumpToolbar
(
infoPtr
,
__LINE__
);
TOOLBAR_DumpToolbar
(
infoPtr
,
__LINE__
);
...
@@ -2894,6 +2896,7 @@ TOOLBAR_AddButtonsW (HWND hwnd, WPARAM wParam, LPARAM lParam)
...
@@ -2894,6 +2896,7 @@ TOOLBAR_AddButtonsW (HWND hwnd, WPARAM wParam, LPARAM lParam)
}
}
TOOLBAR_CalcToolbar
(
hwnd
);
TOOLBAR_CalcToolbar
(
hwnd
);
TOOLBAR_AutoSize
(
hwnd
);
TOOLBAR_DumpToolbar
(
infoPtr
,
__LINE__
);
TOOLBAR_DumpToolbar
(
infoPtr
,
__LINE__
);
...
@@ -3990,6 +3993,7 @@ TOOLBAR_InsertButtonA (HWND hwnd, WPARAM wParam, LPARAM lParam)
...
@@ -3990,6 +3993,7 @@ TOOLBAR_InsertButtonA (HWND hwnd, WPARAM wParam, LPARAM lParam)
Free
(
oldButtons
);
Free
(
oldButtons
);
TOOLBAR_CalcToolbar
(
hwnd
);
TOOLBAR_CalcToolbar
(
hwnd
);
TOOLBAR_AutoSize
(
hwnd
);
InvalidateRect
(
hwnd
,
NULL
,
TRUE
);
InvalidateRect
(
hwnd
,
NULL
,
TRUE
);
...
@@ -4090,6 +4094,7 @@ TOOLBAR_InsertButtonW (HWND hwnd, WPARAM wParam, LPARAM lParam)
...
@@ -4090,6 +4094,7 @@ TOOLBAR_InsertButtonW (HWND hwnd, WPARAM wParam, LPARAM lParam)
Free
(
oldButtons
);
Free
(
oldButtons
);
TOOLBAR_CalcToolbar
(
hwnd
);
TOOLBAR_CalcToolbar
(
hwnd
);
TOOLBAR_AutoSize
(
hwnd
);
InvalidateRect
(
hwnd
,
NULL
,
TRUE
);
InvalidateRect
(
hwnd
,
NULL
,
TRUE
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment