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
12c0da68
Commit
12c0da68
authored
Jul 31, 2006
by
Huw Davies
Committed by
Alexandre Julliard
Aug 01, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Wordwrap the sub title.
parent
64ddc97b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
propsheet.c
dlls/comctl32/propsheet.c
+3
-5
No files found.
dlls/comctl32/propsheet.c
View file @
12c0da68
...
...
@@ -3283,8 +3283,7 @@ static LRESULT PROPSHEET_Paint(HWND hwnd, HDC hdcParam)
szBuffer
,
256
);
if
(
nLength
!=
0
)
{
DrawTextW
(
hdc
,
szBuffer
,
nLength
,
&
r
,
DT_LEFT
|
DT_SINGLELINE
|
DT_NOCLIP
);
DrawTextW
(
hdc
,
szBuffer
,
nLength
,
&
r
,
DT_LEFT
|
DT_SINGLELINE
|
DT_NOCLIP
);
}
}
}
...
...
@@ -3293,15 +3292,14 @@ static LRESULT PROPSHEET_Paint(HWND hwnd, HDC hdcParam)
SelectObject
(
hdc
,
psInfo
->
hFont
);
SetRect
(
&
r
,
40
,
25
,
rzone
.
right
-
69
,
rzone
.
bottom
);
if
(
HIWORD
(
ppshpage
->
pszHeaderTitle
))
DrawTextW
(
hdc
,
ppshpage
->
pszHeaderSubTitle
,
-
1
,
&
r
,
DT_LEFT
|
DT_
SINGLELINE
);
DrawTextW
(
hdc
,
ppshpage
->
pszHeaderSubTitle
,
-
1
,
&
r
,
DT_LEFT
|
DT_
WORDBREAK
);
else
{
nLength
=
LoadStringW
(
ppshpage
->
hInstance
,
(
UINT_PTR
)
ppshpage
->
pszHeaderSubTitle
,
szBuffer
,
256
);
if
(
nLength
!=
0
)
{
DrawTextW
(
hdc
,
szBuffer
,
nLength
,
&
r
,
DT_LEFT
|
DT_SINGLELINE
);
DrawTextW
(
hdc
,
szBuffer
,
nLength
,
&
r
,
DT_LEFT
|
DT_WORDBREAK
);
}
}
}
...
...
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