Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
7c46a5ea
Commit
7c46a5ea
authored
May 12, 2004
by
Maxime Bellengé
Committed by
Alexandre Julliard
May 12, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add DT_END_ELLIPSIS as defaut style for text.
parent
9debc40e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
toolbar.c
dlls/comctl32/toolbar.c
+3
-3
No files found.
dlls/comctl32/toolbar.c
View file @
7c46a5ea
...
...
@@ -5108,7 +5108,7 @@ TOOLBAR_Create (HWND hwnd, WPARAM wParam, LPARAM lParam)
infoPtr
->
hwndNotify
=
((
LPCREATESTRUCTW
)
lParam
)
->
hwndParent
;
infoPtr
->
bTransparent
=
(
dwStyle
&
TBSTYLE_TRANSPARENT
);
infoPtr
->
bBtnTranspnt
=
(
dwStyle
&
(
TBSTYLE_FLAT
|
TBSTYLE_LIST
));
infoPtr
->
dwDTFlags
=
(
dwStyle
&
TBSTYLE_LIST
)
?
DT_LEFT
|
DT_VCENTER
|
DT_SINGLELINE
:
DT_CENTER
;
infoPtr
->
dwDTFlags
=
(
dwStyle
&
TBSTYLE_LIST
)
?
DT_LEFT
|
DT_VCENTER
|
DT_SINGLELINE
|
DT_END_ELLIPSIS
:
DT_CENTER
|
DT_END_ELLIPSIS
;
infoPtr
->
bAnchor
=
FALSE
;
/* no anchor highlighting */
infoPtr
->
iVersion
=
0
;
infoPtr
->
hwndSelf
=
hwnd
;
...
...
@@ -6251,10 +6251,10 @@ TOOLBAR_StyleChanged (HWND hwnd, INT nType, LPSTYLESTRUCT lpStyle)
if
(
nType
==
GWL_STYLE
)
{
if
(
lpStyle
->
styleNew
&
TBSTYLE_LIST
)
{
infoPtr
->
dwDTFlags
=
DT_LEFT
|
DT_VCENTER
|
DT_SINGLELINE
;
infoPtr
->
dwDTFlags
=
DT_LEFT
|
DT_VCENTER
|
DT_SINGLELINE
|
DT_END_ELLIPSIS
;
}
else
{
infoPtr
->
dwDTFlags
=
DT_CENTER
;
infoPtr
->
dwDTFlags
=
DT_CENTER
|
DT_END_ELLIPSIS
;
}
infoPtr
->
bTransparent
=
(
lpStyle
->
styleNew
&
TBSTYLE_TRANSPARENT
);
infoPtr
->
bBtnTranspnt
=
(
lpStyle
->
styleNew
&
...
...
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