alert box

This is a discussion on alert box within the Game Programming forums, part of the General Programming Boards category; Does anyone know how to make a alert box pop-up before the program is started. Is their anything in C++ ...

  1. #1
    Registered User
    Join Date
    Nov 2002
    Posts
    8

    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?

    thx,
    Will

  2. #2
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571
    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

    Code:
    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
    Posts
    160
    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, 09:34 PM
  4. New Theme
    By XSquared in forum A Brief History of Cprogramming.com
    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, 10:44 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21