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
83cde069
Commit
83cde069
authored
Feb 16, 2017
by
Nikolay Sivov
Committed by
Alexandre Julliard
Feb 16, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/propsheet: Implement PSM_SETHEADERSUBTITLE.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ce9c06be
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
7 deletions
+26
-7
propsheet.c
dlls/comctl32/propsheet.c
+26
-7
No files found.
dlls/comctl32/propsheet.c
View file @
83cde069
...
...
@@ -33,7 +33,6 @@
* - Enforcing of minimal wizard size
* - Messages:
* o PSM_RECALCPAGESIZES
* o PSM_SETHEADERSUBTITLE
* o WM_HELP
* o WM_CONTEXTMENU
* - Notifications:
...
...
@@ -2532,17 +2531,37 @@ static void PROPSHEET_SetHeaderTitleA(HWND hwndDlg, UINT page_index, const char
/******************************************************************************
* PROPSHEET_SetHeaderSubTitleW
*/
static
void
PROPSHEET_SetHeaderSubTitleW
(
HWND
hwndDlg
,
int
iPageIndex
,
LPCWSTR
pszHeaderSubT
itle
)
static
void
PROPSHEET_SetHeaderSubTitleW
(
HWND
hwndDlg
,
UINT
page_index
,
const
WCHAR
*
subt
itle
)
{
FIXME
(
"(%p, %d, %s): stub
\n
"
,
hwndDlg
,
iPageIndex
,
debugstr_w
(
pszHeaderSubTitle
));
PropSheetInfo
*
psInfo
=
GetPropW
(
hwndDlg
,
PropSheetInfoStr
);
PROPSHEETPAGEW
*
page
;
TRACE
(
"(%p, %u, %s)
\n
"
,
hwndDlg
,
page_index
,
debugstr_w
(
subtitle
));
if
(
page_index
>=
psInfo
->
nPages
)
return
;
page
=
(
PROPSHEETPAGEW
*
)
psInfo
->
proppage
[
page_index
].
hpage
;
if
(
!
IS_INTRESOURCE
(
page
->
pszHeaderSubTitle
))
Free
((
void
*
)
page
->
pszHeaderSubTitle
);
page
->
pszHeaderSubTitle
=
heap_strdupW
(
subtitle
);
page
->
dwFlags
|=
PSP_USEHEADERSUBTITLE
;
}
/******************************************************************************
* PROPSHEET_SetHeaderSubTitleA
*/
static
void
PROPSHEET_SetHeaderSubTitleA
(
HWND
hwndDlg
,
int
iPageIndex
,
LPCSTR
pszHeaderSubT
itle
)
static
void
PROPSHEET_SetHeaderSubTitleA
(
HWND
hwndDlg
,
UINT
page_index
,
const
char
*
subt
itle
)
{
FIXME
(
"(%p, %d, %s): stub
\n
"
,
hwndDlg
,
iPageIndex
,
debugstr_a
(
pszHeaderSubTitle
));
WCHAR
*
subtitleW
;
TRACE
(
"(%p, %u, %s)
\n
"
,
hwndDlg
,
page_index
,
debugstr_a
(
subtitle
));
subtitleW
=
heap_strdupAtoW
(
subtitle
);
PROPSHEET_SetHeaderSubTitleW
(
hwndDlg
,
page_index
,
subtitleW
);
Free
(
subtitleW
);
}
/******************************************************************************
...
...
@@ -3750,11 +3769,11 @@ PROPSHEET_DialogProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
return
TRUE
;
case
PSM_SETHEADERSUBTITLEW
:
PROPSHEET_SetHeaderSubTitleW
(
hwnd
,
(
int
)
wParam
,
(
LPCWSTR
)
lParam
);
PROPSHEET_SetHeaderSubTitleW
(
hwnd
,
wParam
,
(
LPCWSTR
)
lParam
);
return
TRUE
;
case
PSM_SETHEADERSUBTITLEA
:
PROPSHEET_SetHeaderSubTitleA
(
hwnd
,
(
int
)
wParam
,
(
LPCSTR
)
lParam
);
PROPSHEET_SetHeaderSubTitleA
(
hwnd
,
wParam
,
(
LPCSTR
)
lParam
);
return
TRUE
;
case
PSM_HWNDTOINDEX
:
...
...
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