×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Aug 2006
    Location
    Egypt, Cairo
    Posts
    37

    CPbkContactEditorDlg problem

    Hello Every one,
    i have a problem in series 60 2nd edition app.
    i want to run the Edit Contact Card Help of the mobile contact application from my application

    it means that
    iam using CPbkContactEditorDlg, and i want to make the help menu item that is inside the Dialog to open the mobile Contact app help so iam using SetHelpContext() function
    but i dont know how to create the help context to open the Contact app. help

    any one have any suggestion??
    Regards,
    Fathi S. el3ashery

  2. #2
    Nokia Developer Champion
    Join Date
    Jan 2008
    Location
    Bangalore, India
    Posts
    777

    Re: CPbkContactEditorDlg problem

    Quote Originally Posted by fathi El3ashery View Post
    Hello Every one,
    i have a problem in series 60 2nd edition app.
    i want to run the Edit Contact Card Help of the mobile contact application from my application

    it means that
    iam using CPbkContactEditorDlg, and i want to make the help menu item that is inside the Dialog to open the mobile Contact app help so iam using SetHelpContext() function
    but i dont know how to create the help context to open the Contact app. help

    any one have any suggestion??
    you can use the SetHelpContext() by passing TCoeHelpContext class object as its argument.so you have to create an object of TCoeHelpContext class.
    this "class contains the information required to link the control and the appropriate context sensitive help topic. This information includes the UID of the help file and the literal descriptor for the appropriate help topic context."
    so you have to set the uid of help topic.
    you can see the Help Example in sdk.
    Last edited by Nitesh Bhardwaj; 2008-03-10 at 07:38.

  3. #3
    Registered User
    Join Date
    Aug 2006
    Location
    Egypt, Cairo
    Posts
    37

    Re: CPbkContactEditorDlg problem

    Hi Nitesh Bhardwaj

    thanks for your reply
    i need to use the default delp for the contact application

    how to make this
    ??
    Regards,
    Fathi S. el3ashery

  4. #4
    Nokia Developer Champion
    Join Date
    Jan 2008
    Location
    Bangalore, India
    Posts
    777

    Re: CPbkContactEditorDlg problem

    Quote Originally Posted by fathi El3ashery View Post
    Hi Nitesh Bhardwaj

    thanks for your reply
    i need to use the default delp for the contact application

    how to make this
    ??
    i did not use it but u can check the Help Example.
    in this example there is a fun like this...

    CArrayFix<TCoeHelpContext>* CHelpExampleAppUi::HelpContextL() const
    {
    CArrayFixFlat<TCoeHelpContext>* array =
    new(ELeave)CArrayFixFlat<TCoeHelpContext>(1);
    CleanupStack::PushL(array);
    array->AppendL(TCoeHelpContext(KUidHelpExampleApp, KContextApplication));
    CleanupStack::Pop(array);
    return array;
    }
    so u can find from here

  5. #5
    Registered User
    Join Date
    Aug 2006
    Location
    Egypt, Cairo
    Posts
    37

    Re: CPbkContactEditorDlg problem

    look at this

    IMPORT_C void CPbkContactEditorDlg::SetHelpContext ( TCoeHelpContext aContext )

    Sets help context. There are many applications using contact editor and they may have an own help topic to be shown, when editor's help is launched. With this command it's possible to define the used help content. If not called after, uses Phonebook's own help context as default.

    Parameters:
    aContext help context to use

    this is from the sdk help

    so i did not use the SetHelpContext to be able to see the default help of the contacts, and it does not work
    Regards,
    Fathi S. el3ashery

  6. #6
    Nokia Developer Champion
    Join Date
    Jan 2008
    Location
    Bangalore, India
    Posts
    777

    Re: CPbkContactEditorDlg problem

    Quote Originally Posted by fathi El3ashery View Post
    look at this

    IMPORT_C void CPbkContactEditorDlg::SetHelpContext ( TCoeHelpContext aContext )

    Sets help context. There are many applications using contact editor and they may have an own help topic to be shown, when editor's help is launched. With this command it's possible to define the used help content. If not called after, uses Phonebook's own help context as default.

    Parameters:
    aContext help context to use

    this is from the sdk help

    so i did not use the SetHelpContext to be able to see the default help of the contacts, and it does not work

    if i m not wrong u want ur own help context rather than predefined...
    have u looked on SDK help in "Context-sensitive help guide"
    i m not sure but may be it will help u

Similar Threads

  1. Problem with eglSwapBuffers and heap corruption
    By greatape in forum Symbian Media (Closed)
    Replies: 2
    Last Post: 2007-05-24, 03:35
  2. netcards - Problem with opening adapter
    By kernj in forum Symbian Tools & SDKs
    Replies: 5
    Last Post: 2007-01-10, 08:56
  3. WAP service problem on Apache
    By bigg_o in forum Browsing and Mark-ups
    Replies: 3
    Last Post: 2005-04-17, 16:05
  4. Problem: S60 SDK for CW in PC with .NET
    By anttij in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2005-02-28, 11:36
  5. wireless problem
    By sash_mca in forum Mobile Web Site Development
    Replies: 0
    Last Post: 2003-06-06, 11:34

Posting Permissions

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