My application is in C#, and I invoke the help file (chm) using the following:
HelpNavigator helpNavigator = HelpNavigator.TableOfContents;
Help.ShowHelp(this, s, helpNavigator);
The icon associated with the help window is the same as the application's icon.
I would like to associate a different icon with the help window. One that contains a question mark, for example.
Is this possible? Do you imbed the icon in the help file, and if so, how? Or do you associate the icon at invocation time, and if so, how?
Thanks.
Rennie
Associating an icon with the help window
Moderators: Alexander Halser, Michael Schwarzl
-
- Posts: 8
- Joined: Tue May 29, 2007 6:28 pm
- Alexander Halser
- EC-Software Support
- Posts: 4106
- Joined: Mon Jun 24, 2002 7:24 pm
- Location: Salzburg, Austria
- Contact:
The help file should actually use its own icon - a yellow question mark with a tiny white page. Does the online help from a C# application take the icon from the application that called it?
If so, I don't know how to change it. But there is certainly no way to include a custom icon into the CHM file. Such an option does not exist in the CHM specification.
If so, I don't know how to change it. But there is certainly no way to include a custom icon into the CHM file. Such an option does not exist in the CHM specification.
Alexander Halser
Senior Software Architect, EC Software GmbH
Senior Software Architect, EC Software GmbH
-
- Posts: 8
- Joined: Tue May 29, 2007 6:28 pm
Re: Associating an icon with the help window
"Better late than never?"
I'm here looking for the solution to another problem, and came across this old posting of mine, from six and a half years ago!
I did eventually find a solution to this problem, so here are a couple of links that might be useful for anyone who stumbles across this thread:
http://stackoverflow.com/questions/9199 ... other-apps
http://stackoverflow.com/questions/3568 ... in-windows
I'm here looking for the solution to another problem, and came across this old posting of mine, from six and a half years ago!
I did eventually find a solution to this problem, so here are a couple of links that might be useful for anyone who stumbles across this thread:
http://stackoverflow.com/questions/9199 ... other-apps
http://stackoverflow.com/questions/3568 ... in-windows