Thread: A simple question.

  1. #1
    Registered User
    Join Date
    Jul 2004
    Posts
    24

    Question A simple question.

    I`m trying to learn windows programming, and so far i don`t understand anything harder than a messagebox... I began with
    Code:
     MessageBox(NULL,"Whatever text you want in the window","Whatever you want in the title",NULL)
    ,then i started using MB_OK instead of the last NULL, and a friend says there are other things using MB. He gave me the examples MB_CONFIRM and MB_ERR, but when i use them, they are undeclared. Is there a header needed for these? Do they even exist at all? If not, are there other things that use MB?

  2. #2
    Registered User moi's Avatar
    Join Date
    Jul 2002
    Posts
    946
    hello, internet!

  3. #3
    Registered User
    Join Date
    Jul 2004
    Posts
    24
    Alright, thanks! One more question: How to call WinMain?

  4. #4
    Registered User moi's Avatar
    Join Date
    Jul 2002
    Posts
    946
    hello, internet!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Simple question regarding variables
    By Flakster in forum C++ Programming
    Replies: 10
    Last Post: 05-18-2005, 08:10 PM
  2. Simple class question
    By 99atlantic in forum C++ Programming
    Replies: 6
    Last Post: 04-20-2005, 11:41 PM
  3. Simple question about pausing program
    By Noid in forum C Programming
    Replies: 14
    Last Post: 04-02-2005, 09:46 AM
  4. simple question.
    By InvariantLoop in forum Windows Programming
    Replies: 4
    Last Post: 01-31-2005, 12:15 PM
  5. simple fgets question
    By theweirdo in forum C Programming
    Replies: 7
    Last Post: 01-27-2002, 06:58 PM