Click to See Complete Forum and Search --> : How to remove the "ok" button>>??


huochai
March 13th, 2003, 10:33 PM
Hi,
When i executed my program, a pop-up menu appeared with the "ok" button on the top right corner...
How can i remove the "ok" button??
The code is written as:
"MessageBox (NULL, TEXT("Sending data succeeded!"), TEXT ("Info"), MB_OK);"
Is it possible to close the messagebox itself after it have displayed for a few seconds ( without pressing the "ok" button) ..?? I seen a progam a progam using the EndDialog() function to close the dialogbox after a few seconds...
I not using MFC..
Hope to hear from you all soon...
Thanks in advance
huochai

riteshtandon
March 13th, 2003, 11:11 PM
Try to create your own MessageBox (Splsh Screen)

filthy_mcnasty
March 14th, 2003, 12:48 AM
or search the forums, there is one thread in particular that goes into deep detail about closing a message box.

dudiav
April 10th, 2003, 02:00 AM
The following will help you:
http://www.codeproject.com/dialog/delaymessagebox.asp