Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
This page was last modified 13:35, 20 May 2007.

Help file usage

From Forum Nokia Wiki

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: -"!:\system\help\app.hlp"
Related Discussions
Thread Thread Starter Forum Replies Last Post
what 's mean of Extension_() in CSession Class yinquan General Symbian C++ 7 2008-08-12 17:52
Where I get TOOL 1 ? diluo Symbian Signing, Certification and Security 3 2007-11-30 11:39
Memory usage of device goldenlife Symbian User Interface 1 2006-05-08 14:56
打开文件的问题 hot_jack Symbian 2 2006-06-09 07:25
large number of convertions canhuzmeli Digital Rights Management & Content Downloading 1 2005-04-04 20:55
 
Powered by MediaWiki
RDF Facets: qfnZtypeQUqfnTypeZCommunityContentQ qfnZtypeQUqfnTypeZWebpageQ qfnZtypeQUqfnTypeZWikiContentQ qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX