×
Namespaces

Variants
Actions

Help file usage

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
Article
Created: giridharn (20 May 2007)
Last edited: hamishwillee (30 May 2013)

Step-1: From SDK Help browse to Developer Library » Tools and Utilities » Context-sensitive help guide

step-2:Using this guide create your application related .hlp and .hlp.hrh file

step-3: place this .hlp file c:\system\help folder.

step-3: In your appUi class declared the function

CArrayFix<TCoeHelpContext>* HelpContextL() const

step-4: In your HandleCommandL() method under help menuitem use this code.

CArrayFix<TCoeHelpContext>* buf = CCoeAppUi::AppHelpContextL();		
HlpLauncher::LaunchHelpApplicationL(iEikonEnv->WsSession(), buf);

step-5: code for HelpContextL() method

CArrayFix<TCoeHelpContext>* CMYAPPUI::HelpContextL() const
{
 
TUid KUidHelpExampleApp; // this is the uid of your .hlp file.
 
CArrayFixFlat<TCoeHelpContext>* array =
new(ELeave)CArrayFixFlat<TCoeHelpContext>(1);
CleanupStack::PushL(array);
array->AppendL(TCoeHelpContext(KUidHelpExampleApp,KContext1));
CleanupStack::Pop(array);
return array;
//KContext1 is the help context,you get this value from your .hlp.hrh
 
file
 
}

step-5: include it in your .pkg file

"app.hlp: -"!:\resource\help\app.hlp"
This page was last modified on 30 May 2013, at 07:38.
75 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×