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
6b68e8d6
Commit
6b68e8d6
authored
Feb 28, 2007
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 28, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hhctrl.ocx: Added content tab window.
parent
0ecadffb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
help.c
dlls/hhctrl.ocx/help.c
+19
-0
No files found.
dlls/hhctrl.ocx/help.c
View file @
6b68e8d6
...
...
@@ -668,6 +668,22 @@ static BOOL HH_AddHTMLPane(HHInfo *pHHInfo)
return
TRUE
;
}
static
BOOL
AddContentTab
(
HHInfo
*
info
)
{
info
->
tabs
[
TAB_CONTENTS
].
hwnd
=
CreateWindowExW
(
WS_EX_CLIENTEDGE
,
WC_TREEVIEWW
,
szEmpty
,
WS_CHILD
|
WS_BORDER
|
0x25
,
50
,
50
,
100
,
100
,
info
->
WinType
.
hwndNavigation
,
NULL
,
hhctrl_hinstance
,
NULL
);
if
(
!
info
->
tabs
[
TAB_CONTENTS
].
hwnd
)
{
ERR
(
"Could not create treeview control
\n
"
);
return
FALSE
;
}
ResizeTabChild
(
info
,
info
->
tabs
[
TAB_CONTENTS
].
hwnd
);
ShowWindow
(
info
->
tabs
[
TAB_CONTENTS
].
hwnd
,
SW_SHOW
);
return
TRUE
;
}
/* Viewer Window */
static
LRESULT
Help_OnSize
(
HWND
hWnd
)
...
...
@@ -840,6 +856,9 @@ static BOOL CreateViewer(HHInfo *pHHInfo)
if
(
!
HH_AddHTMLPane
(
pHHInfo
))
return
FALSE
;
if
(
!
AddContentTab
(
pHHInfo
))
return
FALSE
;
return
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