Author |
Topic: Using PK with VC++ app (Read 1335 times) |
|
Umer Nalla
Guest

|
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
|
|
Logged |
|
|
|
Support Staff
YaBB Administrator
    
 Meow!

Gender: 
Posts: 1134
|
 |
Re: Using PK with VC++ app
« Reply #1 on: Jun 23rd, 2003, 5:41pm » |
Quote Modify
|
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 .
|
|
Logged |
|
|
|
Umer Nalla
Guest

|
 |
Re: Using PK with VC++ app
« Reply #2 on: Jul 1st, 2003, 9:01am » |
Quote Modify
Remove
|
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.
|
|
Logged |
|
|
|
Umer Nalla
Guest

|
 |
Re: Using PK with VC++ app
« Reply #3 on: Jul 1st, 2003, 9:04am » |
Quote Modify
Remove
|
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!
|
|
Logged |
|
|
|
Support Staff
YaBB Administrator
    
 Meow!

Gender: 
Posts: 1134
|
 |
Re: Using PK with VC++ app
« Reply #4 on: Jul 13th, 2003, 3:17pm » |
Quote Modify
|
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.
|
|
Logged |
|
|
|
|