Print Page | Close Window

View CHM file in application

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=5503
Printed Date: 01 April 2025 at 12:44am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: View CHM file in application
Posted By: ContactGT
Subject: View CHM file in application
Date Posted: 13 November 2006 at 6:54am
Is there a way (any ToolkitPro class) to display a CHM file as a view in a Dockable Pane, rather than having a help system open as a separate window?



Replies:
Posted By: Oleg
Date Posted: 13 November 2006 at 10:26am

Hello,

Try to show it using CHtmlView class.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: ContactGT
Date Posted: 13 November 2006 at 12:21pm
Thanks. I have tried using a CHtmlView derived class, but when I Navigate2(filename), it opens a file download dialog box. I have also tried using a CXTHtmlView class, but it does the same - I don't want to download the file, I want to view it in the view.


Posted By: Oleg
Date Posted: 13 November 2006 at 1:46pm
Hello,
 
try
 
Navigate2(_T("mk:@MSITStore:c:\\HelpContext.chm::/main_index.htm"), NULL, NULL);


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: ContactGT
Date Posted: 16 November 2006 at 11:31am
Thanks - that has opened the CHM file in my window, but only the right hand side is visible - the left hand side is just white space. What do I have to do to get the left hand side of the CHM file to show (the table of contents/index/search).


Posted By: Oleg
Date Posted: 16 November 2006 at 1:21pm

Hello,

I don't think it is possible.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net