Displays the specified Help topic.
.NET Syntax
Visual Basic (Declaration) | |
---|
Sub ShowHelp( _
ByVal HelpFile As System.String, _
ByVal HelpTopic As System.Integer _
) |
Visual Basic (Usage) | |
---|
Dim instance As ISldWorks
Dim HelpFile As System.String
Dim HelpTopic As System.Integer
instance.ShowHelp(HelpFile, HelpTopic) |
Parameters
- HelpFile
- Name of the Help file that contains the Help topic
- HelpTopic
ID of Help topic to display
Example
STDMETHODIMP CFuncFeatApp::appCallbackFunction(int cmd,int data,LPDISPATCH dsp, BOOL *retval)
{
switch (cmd)
{
case swAppIsNewCmd:
*retval = VARIANT_True; //Set to True if data is new
break;
case swAppWhatsNewDescription:
m_iSldWorks->ShowHelp(_T("name_of_your_Help_system.chm"), cmd);
break;
case swAppHelpContext:
break;
}
return S_OK;
}
Example
Remarks
See Also
Availability
SOLIDWORKS 2006 FCS, Revision Number 14.0