alert box

This is a discussion on alert box within the C++ Programming forums, part of the General Programming Boards category; Hi. I am using visual studio 2005. I am coding in C++. Is there any way where we can see ...

  1. #1
    Registered User
    Join Date
    Sep 2007
    Posts
    29

    alert box

    Hi.
    I am using visual studio 2005.

    I am coding in C++.

    Is there any way where we can see a window pop up kind of thing, like an alert message, when any condition is met.

    Thanks in advance.

  2. #2
    Super unModrator
    Join Date
    Dec 2007
    Posts
    321
    uh ? Do you want to make pop-up ads ?
    Don't. People hate that stuff. And most modern browsers have pop up blockers!

  3. #3
    Registered User hk_mp5kpdw's Avatar
    Join Date
    Jan 2002
    Location
    Northern Virginia/Washington DC Metropolitan Area
    Posts
    3,806
    Maybe create a message box in your app.
    "Owners of dogs will have noticed that, if you provide them with food and water and shelter and affection, they will think you are god. Whereas owners of cats are compelled to realize that, if you provide them with food and water and shelter and affection, they draw the conclusion that they are gods."
    -Christopher Hitchens

  4. #4
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Are you asking about a "dialog box"? Yes, you can do that.

    Here are some links:
    http://msdn2.microsoft.com/en-us/lib...24(VS.85).aspx
    http://msdn2.microsoft.com/en-us/lib...05(VS.80).aspx

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 9
    Last Post: 02-13-2008, 02:59 PM
  2. How to program a "back" button with MFC
    By 99atlantic in forum Windows Programming
    Replies: 3
    Last Post: 04-26-2005, 09:34 PM
  3. New Theme
    By XSquared in forum A Brief History of Cprogramming.com
    Replies: 160
    Last Post: 04-01-2004, 08:00 PM
  4. alert box
    By willgell in forum Game Programming
    Replies: 2
    Last Post: 12-15-2002, 10:55 AM
  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