Hello,
is there a way to navigate inside an already opened .chm document
by using @MSITStore links?. Just calling hh.exe doesn't cut it, it will always
open a new window, each time it's called...
Open help topic in an already opened .chm file?
- RSBasic
- Moderator
- Posts: 1218
- Joined: Thu Dec 31, 2009 11:05 pm
- Location: Gernsbach (Germany)
- Contact:
Re: Open help topic in an already opened .chm file?
Why not with OpenHelp()?
The code opens the help site in the same window. This is not possible with hh.exe or I couldn't find a open-parameter.
Code: Select all
EnableExplicit
If OpenWindow(0, 0, 0, 500, 400, "Window", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
ButtonGadget(1, 10, 10, 200, 20, "Open help site about ''History''", 0)
ButtonGadget(2, 10, 40, 200, 20, "Open help site about ''OpenWindow''", 0)
ButtonGadget(3, 10, 70, 200, 20, "Close help site", 0)
Repeat
Select WaitWindowEvent()
Case #PB_Event_Gadget
Select EventGadget()
Case 1
OpenHelp(#PB_Compiler_Home + "PureBasic.chm", "MainGuide\history.html")
Case 2
OpenHelp(#PB_Compiler_Home + "PureBasic.chm", "Help\OpenHelp.html")
Case 3
CloseHelp()
EndSelect
Case #PB_Event_CloseWindow
End
EndSelect
ForEver
EndIf
Re: Open help topic in an already opened .chm file?
Thanks RSBasic, never knew this capability built in?
What is the preferred tool to convert txt, html to chm?
What is the preferred tool to convert txt, html to chm?
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
- RSBasic
- Moderator
- Posts: 1218
- Joined: Thu Dec 31, 2009 11:05 pm
- Location: Gernsbach (Germany)
- Contact:
Re: Open help topic in an already opened .chm file?
Microsoft HTML Help Workshop: https://www.microsoft.com/en-us/downloa ... x?id=21138
Or with KEL CHM Creator and Microsoft HTML Help Workshop: https://dumah7.wordpress.com/2009/02/17 ... v-1-4-0-0/
There you can insert the HTML code.
Or with KEL CHM Creator and Microsoft HTML Help Workshop: https://dumah7.wordpress.com/2009/02/17 ... v-1-4-0-0/
There you can insert the HTML code.
Re: Open help topic in an already opened .chm file?
Thanks!
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
- Kwai chang caine
- Always Here
- Posts: 5342
- Joined: Sun Nov 05, 2006 11:42 pm
- Location: Lyon - France
Re: Open help topic in an already opened .chm file?
Thanks RSBASIC me tooThanks RSBasic, never knew this capability built in?
This PB...never stop to surprising me
The happiness is a road...
Not a destination
Not a destination