THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 05/11/2010 at 03:20, xxxxxxxx wrote:
Cinema 4D Version: 11.5
Platform: Windows ;
Language(s) : C.O.F.F.E.E ;
I would like to add a Help button to my menu to show multiple line of help text.
Is there a standard way for showing help or should I use MenuPlugin::GetHelp() for this?
I am not sure how to use this function.
Can anyone explain?
On 05/11/2010 at 04:33, xxxxxxxx wrote:
Assuming you have a dialog box for your plugin, and that it has a menu in it, you can just respond to the menu item the user selects like this:
// show a simple help box
strHelp = "Using this plugin\n\n";
strHelp += "A line of text goes here\n";
strHelp += "with another line of text here\n";
strHelp += "And another here, and so on\n";
// show a text box
TextDialog(strHelp, DLG_ICONASTERISK | DLG_OK);
// show the main help file as a pdf
file = GeGetRootFilename();
if (!file) return;
GeExecuteFile(file); // load the pdf
Hope that helps.
On 05/11/2010 at 11:52, xxxxxxxx wrote:
Thank you very much.
I will post my first plugin very soon.