Thread: alert box

  1. #1
    Registered User
    Join Date
    Nov 2002

    Question alert box

    Does anyone know how to make a alert box pop-up before the program is started. Is their anything in C++ or SDL that can do this?


  2. #2
    Registered User
    Join Date
    Apr 2002
    I'm not sure what this is for but you can just display a message box before your program does anything critical. The function is MessageBox( ) look up the param's on MSDN. A simple message box would be

    MessageBox( NULL, "Hello World", "Box Name", NULL );
    Something like this? Or are you looking for something different.

  3. #3
    Registered User
    Join Date
    Oct 2002
    Yeah and if you use borland there is this this extremely simple one: ShowMessage("Whatever");
    Well english isn't my first language, (it's instead a useless language called danish which only 5 milion people speak!!) so if you think my grammar SUCKS (it does by the way) than you're more then welcome to correct me.
    Hell I might even learn something

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 9
    Last Post: 02-13-2008, 02:59 PM
  2. alert box
    By sunny_master_07 in forum C++ Programming
    Replies: 3
    Last Post: 02-05-2008, 08:24 AM
  3. How to program a "back" button with MFC
    By 99atlantic in forum Windows Programming
    Replies: 3
    Last Post: 04-26-2005, 08:34 PM
  4. New Theme
    By XSquared in forum A Brief History of
    Replies: 160
    Last Post: 04-01-2004, 08:00 PM
  5. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 09:44 AM