Right, then you could do something like this in your app ui:
Code:
void CAppUi::ShowHelp()
{
CArrayFix<TCoeHelpContext>* buf = AppHelpContextL();
HlpLauncher::LaunchHelpApplicationL(iEikonEnv->WsSession(), buf);
}
CCoeAppUi::AppHelpContextL() will call this:
Code:
CArrayFix<TCoeHelpContext>* CAppUi::HelpContextL() const
{
CArrayFixFlat<TCoeHelpContext>* array = new(ELeave) CArrayFixFlat<TCoeHelpContext>(1);
CleanupStack::PushL(array);
array->AppendL(TCoeHelpContext(KAppUid, KApplication_Help));
CleanupStack::Pop(array);
return array;
}
So you can pass KApplication_Help (from the generated help hrh file) or any other id you desire.
Regards.