CEikDialog problem....

Login to reply to this topic.
Wed, 2006-06-21 22:03
Joined: 2003-11-28
Forum posts: 35
hi,

I have a custom dialog class derived from CEikDialog.
after the dialog is shown, I want to start an internet connection.
my question is how to start the connection after the dialog is shown without the user to press any buttons?
in which function should I put my code?

defenitely not in :
PreLayoutDynInitL() and PostLayoutDynInitL()

if I put it in Draw() I receive a panic error WSERV:10

I have my reasons that I wanted the code to start executing after the dialog in shown withou the use to press any button(I want to create a dialog similar to CCknCancelDialog ), so please give me a hint.

thanks.
Edit/Delete Message

Thu, 2006-06-22 07:43
Joined: 2004-06-08
Forum posts: 147
Re: CEikDialog problem....
What about a timer? Start in PreLayoutDynInitL and open your connection in RunL()?
  • Login to reply to this topic.