Visual Vision **User's** Forum (the fast) (http://www.easywebeditor.com/cgi-bin/forum/YaBB.pl)
Our Products >> PaperKiller / RoboAuthor >> Using PK with VC++ app
(Message started by: Umer Nalla on Jun 20th, 2003, 3:24am)

Title: Using PK with VC++ app
Post by Umer Nalla on Jun 20th, 2003, 3:24am
I am interested in using PaperKiller to write a WinHelp file for a Visual C++ MFC application.
I need to know if it is possible to link pages created in PaperKiller to dialogs in my App. i.e. when a user clicks help on a particular dialog I display the correct Help page for that dialog.

If this is possible I will most likely register and pay for a PaperKiller licence.
Thanks

Title: Re: Using PK with VC++ app
Post by Support Staff on Jun 23rd, 2003, 5:41pm
Yes, both for WinHelp and HtmlHelp format, PaperKiller adds an "ID" for each page in the help (you can see them in the files generated by PaperKiller for the preprocessing; for WinHelp, you find each topic ID in the RTF file, for HTMLHelp in the .HPJ file), so within your software you can call the topic.
Each language has a function to call a specific topic within the Help. We have a sample for VB and for Delphi but of course there are functions for VC++ too.
Any HLP or CHM generated by PaperKiller is perfectly standard so you can use them within your program the standard way. Please refer to your VC++ manual :).

Title: Re: Using PK with VC++ app
Post by Umer Nalla on Jul 1st, 2003, 9:01am
Thanks for the reply. Sorry for taking so long to get back but I still need to finish coding my app and the help will be done last.

I had a look in the .RTF file created by PaperKiller using Word but I cannot see any IDs.
It is a 3 Page help file with Links.
The resultant .hlp file is created OK and it works as I would expect it with the hyperlinks etc. BUT I cannot see the IDs that you talk about in the RTF file.

Title: Re: Using PK with VC++ app
Post by Umer Nalla on Jul 1st, 2003, 9:04am
Forgot to mention that I did try different views of the .RTF file in word and even tried the Hide/Unhide feature but could not see the IDs.
If I open the file with Notepad I can see allsorts of numbers but not sure how I would identify the IDs.
I hope you can help an idiot like me! I can write VC++ but dont know how to use WORD!!
PaperKiller does sound like the perfect tool for me and will licence a copy if I can figure out how to use it.
Many thanks in advance!

Title: Re: Using PK with VC++ app
Post by Support Staff on Jul 13th, 2003, 3:17pm
Some IDs are in the page footer / footnotes.
Some other IDs are in the text file (.hpj as far as I remember) that is created simultaneously to the RTF.



Visual Vision **User's** Forum (the fast) » Powered by YaBB 1 Gold - SP1!
YaBB © 2000-2001, XNull. All Rights Reserved.
This forum © 2001-2010 VisualVision and VisualVision Users