|
-
Dec 15th, 2003, 10:45 AM
#1
Thread Starter
Addicted Member
messageboxes?
how can i close a messagebox in code? ( i want to close it 3min after the messagebox being popped up , if the user doesnt close it )
thanks
-
Dec 15th, 2003, 11:05 AM
#2
Sleep mode
-
Dec 15th, 2003, 01:31 PM
#3
Thread Starter
Addicted Member
so your sure theres no way of just getting a reference to the messagebox window?
-
Dec 15th, 2003, 02:43 PM
#4
Frenzied Member
Just a thought, i have not tested it: What about putting it on another thread? and abort that thread after a while and continue with the main thread?
'Heading for the automatic overload'
Marillion, Brave, The Great Escape, 1994
'How will WE stand the FIRE TOMORROW?'
Eloy, Silent Cries and Mighty Echoes, The Vision - Burning, 1979
-
Dec 15th, 2003, 02:57 PM
#5
Sleep mode
Originally posted by Lunatic3
Just a thought, i have not tested it: What about putting it on another thread? and abort that thread after a while and continue with the main thread?
If it's on separate thread , first it would lose its behaviour as messagebox (it can be overcome by other windows . tested) . Aborting the thread (I think) will not make it disappear .
-
Dec 15th, 2003, 02:57 PM
#6
Fanatic Member
-
Dec 15th, 2003, 03:42 PM
#7
I wonder how many charact
Re: messageboxes?
Originally posted by persianboy
how can i close a messagebox in code? ( i want to close it 3min after the messagebox being popped up , if the user doesnt close it )
thanks
Is the functionality you after more like a balloon-tip window? Because there is a free project at codeproject, and a dozen or more 3rd party controls..
If its a standard system messagebox... probably not, since you cannot instantiate an instance of messagebox, only call .Show on a shared instance that is used by your application.
Best bet would be to make your own custom messagebox control.
Last edited by nemaroller; Dec 15th, 2003 at 03:49 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|