Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Help file usage

From 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 04:38.
23 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.

×