×

Discussion Board

Results 1 to 5 of 5

Hybrid View

  1. #1
    Registered User
    Join Date
    May 2003
    Location
    Budapest(Hungary)
    Posts
    30

    Help topics from application menu

    Hi to All,

    I have a question about the CSHelp system in symbian: it is possible to open the help topics from application menu, I mean that I have a "HELP->" cascading menu, and I have in that a few help topics(so I don't really need context sensitivity because of the style of my application). In the first round i made that absolutely without the symbians help-engine, with my own "Help View", but in that case the formatting was quite hard, because I think only the Symbian-Help engine can handle .rtf files.
    I welcome any suggestions...

    Thank You,
    DonAks

  2. #2
    Registered User
    Join Date
    Apr 2005
    Location
    Barcelona
    Posts
    1,678

    Re: Help topics from application menu

    Not sure if I get you, but you mean opening the help file outside of your application? You can use the Help app for this (generally on the main menu of your phone)

  3. #3
    Registered User
    Join Date
    May 2003
    Location
    Budapest(Hungary)
    Posts
    30

    Re: Help topics from application menu

    HI,

    Probably I was not clear enough, I mean that, as I know, the CS help works that way that only one "HELP" button is available in the application and when the user presses it, the help topic for the actual application view or state will be displayed. But I don't really need this context sensitivity, I want to display the topics separately. So in my Symbian application I have a cascading HELP menu, with a few topics in it(HELP->Topic1, HELP->topic2, etc.),
    and I want to explicitly open a topic...

    Regards, DonAks

  4. #4
    Registered User
    Join Date
    Apr 2005
    Location
    Barcelona
    Posts
    1,678

    Re: Help topics from application menu

    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.

  5. #5
    Registered User
    Join Date
    May 2003
    Location
    Budapest(Hungary)
    Posts
    30

    Smile Re: Help topics from application menu

    Thanks a lot PushL, that works fine!!!

Similar Threads

  1. Moving an application to the top of the 'main menu grid'?
    By kernj in forum Symbian User Interface
    Replies: 0
    Last Post: 2006-02-21, 21:23
  2. Application Menu
    By gs_cmans in forum Symbian
    Replies: 1
    Last Post: 2006-02-14, 03:02
  3. how to access menu of another application?
    By shafali gupta in forum Symbian
    Replies: 0
    Last Post: 2005-03-17, 12:05
  4. Replies: 3
    Last Post: 2004-03-11, 04:21
  5. Changing Application Menu
    By dchiang in forum Symbian
    Replies: 0
    Last Post: 2003-05-22, 23:29

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×