×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Nov 2005
    Location
    India
    Posts
    101

    Alert Box with only OK button

    Hi all

    Actually I wanted to know how I can display an alert with only OK button on it.
    I have an application, which tries to create an Http connection and tries to download an long file. Most of the times, It tries for a long time and in the end it fails to download the file. Now I want to display a dialog box saying that 'downloading failed'.

    I have used information note to display this message. But it disappears after some time with out user interaction. Instead of this I want to display a dialog box with OK button. it should disappear only when user clicks on OK button. But I do not want to display the OK/Cancel dialog box. Only Ok button should be displayed not the cancel button.

    I am devloping my application for s60 devices using Microsoft Visual C++ .NET and S60 3rd edition emulator.
    Please help.

  2. #2
    Regular Contributor
    Join Date
    Mar 2005
    Location
    Bangalore,India
    Posts
    306

    Re: Alert Box with only OK button

    CEikonEnv::Static()->AlertWin() for short msg
    CEikonEnv::Static()->InfoWinL() for relatively long msg

  3. #3
    Regular Contributor
    Join Date
    Nov 2005
    Location
    India
    Posts
    101

    Re: Alert Box with only OK button

    Thanks for your humble reply to my 'newbee Q', sir.
    Am trying out your sugessition. :-)
    Working for me.

Similar Threads

  1. How to create Radio Button List box on S60
    By rmuralidharan in forum Symbian
    Replies: 8
    Last Post: 2008-04-10, 14:00
  2. how to display text box on the press of ok button in series 60
    By pravesh99_sw in forum Symbian User Interface
    Replies: 2
    Last Post: 2006-01-24, 14:40
  3. Changing button of dialog box on the fly
    By Jeepy in forum Symbian
    Replies: 0
    Last Post: 2005-01-28, 08:59
  4. Form's init function with Alert Box
    By farhanx in forum Mobile Java Media (Graphics & Sounds)
    Replies: 5
    Last Post: 2003-10-19, 17:23

Posting Permissions

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