×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Dec 2008
    Posts
    9

    generic message box

    I'm very much a windows/dos programmer, and so i'm new to symbian. is there any single command to show a generic message box in the symbian sdk? cuz in windows, you need only call

    Code:
    std::messagebox( "Some message", "window title" );
    I would hope that a similar command exists for symbian rather than having to two two hundred lines of code just to show a two line message.

  2. #2
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: generic message box

    must not call any 2 OSs as every one is different and advanced in some field.
    just call iEikonEnv->InfoMsg(_L("Some message"));

  3. #3
    Super Contributor
    Join Date
    Nov 2004
    Location
    Wiltshire, UK
    Posts
    3,644

    Re: generic message box

    The InfoMsg only works if extended error logging is enabled.

    Generally I recommend using the following:
    CAknInformationNote* note = new (ELeave) CAknInformationNote(ETrue);
    note->ExecuteLD(_L("My Message...."));
    Download Symbian OS now! [url]http://developer.symbian.org[/url]

Similar Threads

  1. Help on displaying a message box...
    By Psyve in forum Symbian
    Replies: 7
    Last Post: 2007-09-05, 08:32
  2. how to index the message ?
    By willing007 in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2005-12-12, 12:09
  3. Message Box question
    By sunilnegi in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2003-09-16, 10:51
  4. Question regarding mail box handling
    By dingdongvan in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 1970-01-01, 02:00
  5. Doubt in Nokia PC Connrctivity SDK 2.1 demo (Visual basic).
    By narumugai in forum General Messaging
    Replies: 1
    Last Post: 1970-01-01, 02:00

Posting Permissions

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