Context help
-
I know the simple and easy way on how to create a context help file. For each dialog resource I just have to add the ID of the dialog (actually the ID created by makehelp) to the rtf file. The problem is that I have a dialog which I use over and over but its contents are different depending on the menu (or the button) that calls it. Therefore, I have different help topics that need to be associated with the dialog. The problem is that the dialog has only one ID and I don't know how to associate it with different topics. For example I have a button called "Category" and when I click it a dialog pops up with a bunch of data in it. The idea is that if I hit F1, the "Category" help topic will appear on the screen. I have another button called "Items" and when I click it the same dialog that I used for "Category" pops up but this time it contains another set of data. Therefore, F1 should display the "Items" help topic. The problem is that the dialog has a unique ID which I can't pass to the help file because I can associate this ID only with one topic. Any suggestions please? // Afterall I realized that even my comment lines have bugs
-
I know the simple and easy way on how to create a context help file. For each dialog resource I just have to add the ID of the dialog (actually the ID created by makehelp) to the rtf file. The problem is that I have a dialog which I use over and over but its contents are different depending on the menu (or the button) that calls it. Therefore, I have different help topics that need to be associated with the dialog. The problem is that the dialog has only one ID and I don't know how to associate it with different topics. For example I have a button called "Category" and when I click it a dialog pops up with a bunch of data in it. The idea is that if I hit F1, the "Category" help topic will appear on the screen. I have another button called "Items" and when I click it the same dialog that I used for "Category" pops up but this time it contains another set of data. Therefore, F1 should display the "Items" help topic. The problem is that the dialog has a unique ID which I can't pass to the help file because I can associate this ID only with one topic. Any suggestions please? // Afterall I realized that even my comment lines have bugs
Use
CDialog::SetHelpID()
to set different help IDs based on the data you are showing. Ryan Being little and getting pushed around by big guys all my life I guess I compensate by pushing electrons and holes around. What a bully I am, but I do enjoy making subatomic particles hop at my bidding - Roger Wright (2nd April 2003, The Lounge)
Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late - John Nichol "Point Of Impact" -
Use
CDialog::SetHelpID()
to set different help IDs based on the data you are showing. Ryan Being little and getting pushed around by big guys all my life I guess I compensate by pushing electrons and holes around. What a bully I am, but I do enjoy making subatomic particles hop at my bidding - Roger Wright (2nd April 2003, The Lounge)
Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late - John Nichol "Point Of Impact"