CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2003
    Posts
    10

    How to remove the "ok" button>>??

    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
    Attached Files Attached Files

  2. #2
    Join Date
    Feb 2003
    Location
    Hyderabad
    Posts
    181
    Try to create your own MessageBox (Splsh Screen)

  3. #3
    Join Date
    Aug 2002
    Location
    United States
    Posts
    729
    or search the forums, there is one thread in particular that goes into deep detail about closing a message box.

  4. #4
    Join Date
    May 2002
    Posts
    52

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured