×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    May 2008
    Posts
    3

    Question How to create a simple dialog

    Hi,

    I have to create a simple dialog where i can enter some text (Ex : ip address or domain name etc). Plz help me to create a dialog by giving code for the dialog. I have code snippets for the dialog, but dont have full code for that.

    I need the full code including E32Main().

    When i tried with the code which i have, i m getting lot of errors saying undefined identifier.

    Please help me out frnds.....

    Thanks,
    Symbian developer

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: How to create a simple dialog

    basically just take the snippets and add them into any existing example. Then have a look into SDK help documentation for required headers & libraries, and you shoudl be able to get rid of the errors.

  3. #3
    Super Contributor
    Join Date
    Jul 2007
    Posts
    596

    Smile Re: How to create a simple dialog

    Hi,

    symb_devel, just type Local Query Dialog in sdk help document search box(here i am talking about 3rd edition sdk).

    you will find different dialog resources and usges.

    try them in helloworld.

    You will learn Faster if you try things of your own.

    Thanks

  4. #4
    Registered User
    Join Date
    May 2008
    Posts
    3

    Unhappy Re: How to create a simple dialog

    Hi Jukka n kishore,

    thanks 4 ur reply.

    I made sure that i had included all the header files and libraries required. Still i m getting errors like "undefined identifier 'iCoeEnv'".

    Some part of code i used:

    CEikDialog *dialog = new( ELeave) Cui_test3WriteFileDialog( this);
    if(!dialog->ExecuteLD(R_TEST3_WRITE_FILE_DIALOG))
    return;

    where .. class Cui_test3WriteFileDialog : public CEikDialog

    There i m getting "invalid use of 'this'".

    As u said,, i used the code snippet and tried with them but failed to get the result.

    Hence .. give me a better code if possible for creating the dialog.


    I need

    // class n member functions definitions

    E32Main()
    {
    // need the code to be written here.
    }

    Thanks
    SYmb_devel

  5. #5
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: How to create a simple dialog

    are you using it in a normal application ?
    Then you could change iCoeEnv to be CCoeEnv::Static()

Similar Threads

  1. Replies: 1
    Last Post: 2007-05-02, 10:19
  2. Replies: 0
    Last Post: 2007-02-13, 03:37
  3. How to create a Markable List Dialog: Simplest example needed: HELP
    By rmuralidharan in forum Symbian User Interface
    Replies: 2
    Last Post: 2006-05-03, 00:45
  4. Is it necessary to create ListBox in Dialog
    By saurbh_g in forum Symbian User Interface
    Replies: 0
    Last Post: 2005-06-10, 14:38
  5. How to move a simple dialog?
    By RXIII in forum Symbian User Interface
    Replies: 3
    Last Post: 2004-03-26, 23:32

Posting Permissions

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