×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Oct 2003
    Posts
    19

    How to make about dilaog?

    Hai,
    For my application i want to add "about dialog"?. I tried with query list control but,i can't display all the informaton.please help me to which control i have to go for "about dialog"(product info)?.

    Regards
    sk
    Last edited by pskreddy; 2004-03-02 at 11:04.

  2. #2
    Registered User
    Join Date
    Oct 2003
    Posts
    19
    Hai,
    I tried with edwin control with read only flag.but its not looking good.actually i want some heading which will be my application name and all other information will be below that heading.

    regards
    sk
    Last edited by pskreddy; 2004-02-25 at 14:11.

  3. #3
    Nokia Developer Expert
    Join Date
    Apr 2003
    Location
    Finland
    Posts
    425
    Hello,

    If you want really cool about dialog you can create your own control and attach that to the dialog. See CreateCustomControlL from SDK. Unfortunately i'm going to sauna, and therefore no time to write complex example just now. Try to seek if found any examples how to use that CreateCustomControlL, if not lucky please ask again and i will write the example. Using your own control the dialog can contain graphics and text with free layout. Because there is no need for userinteractions it is not so difficult to write own control.

    The other way: Not so cool way to implement is to use readymade controls on the dialog...this means you define (on resource file) what controls should be on your dialog and then you write a container (dialog class) for those controls. This examples can be found in many places, i think.

    Br V.

  4. #4
    Registered User
    Join Date
    Oct 2003
    Posts
    19
    Hai ,
    I couldn't find any example for putting customised controls on dialog.please send me if u have any sample code to .
    I tried with CAknMessageQueryControl.But it is crashing when i call RuLD().the resource i used for this is

    RESOURCE DIALOG r_tsipgui_list_about_heading_pane
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_OK_EMPTY;
    items =
    {
    DLG_LINE
    {
    type = EAknCtMessageQuery;
    id = ETSipGuiAboutId;
    control = AVKON_MESSAGE_QUERY
    {
    message = "Test";
    };
    }
    };
    }


    and the code for calling the dialog is

    CAknMessageQueryDialog* dlg = new (ELeave) CAknMessageQueryDialog();

    dlg->PrepareLC(R_TSIPGUI_LIST_ABOUT_HEADING_PANE);

    dlg->SetMessageTextL(_L("Application Name Ver. 1.0\nCompany\nCompanyWebsite"));

    dlg->SetHeaderTextL(_L("About"));

    dlg->RunLD();//crashing at this position

    is there any thing wrong in resource or code?

    Regards
    sk
    Last edited by pskreddy; 2004-03-08 at 11:55.

  5. #5
    Nokia Developer Expert
    Join Date
    Apr 2003
    Location
    Finland
    Posts
    425
    Hi, I just sent mail for you...

    Br V

    -----
    but i got reply:
    The following recipient(s) could not be reached:

    saki80@rediffmail.com on 27.02.2004 21:14
    The message could not be delivered because the recipient's mailbox is full.

    :-(

    i will re-try later...
    Last edited by veskola; 2004-02-27 at 19:29.

  6. #6
    Registered User
    Join Date
    Oct 2003
    Posts
    19

    sorry

    hai,
    sorry for the inconvenience.
    i deleted all the spam mails.i will give u one more mail id
    thanks and Rgds
    sk
    Last edited by pskreddy; 2004-03-08 at 11:53.

Posting Permissions

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