MessageBox Defination?

Hello,

I am new to Windows programming. Infact new to c++ as well. I encountered with my first windows function to create a message box saying hello. However, I didn't get where this function has been defined in Visual Basic.

1
2
3

MessageBox(0,"hello","Title",0);



I am more interested in knowing about the parameters. I could find that MessageBox is declared in winuser.h. However, I could not find the definition for the same.

Regards,
Abhishek
closed account (z05DSL3A)
abhiverma812 wrote:
I am more interested in knowing about the parameters.

See: http://msdn.microsoft.com/en-us/library/ms645505(v=vs.85).aspx
Thanks. The link was very informative. :)
For Microsoft API questions, the best way to find the answer is usually to use Google and type "msdn MessageBox" and hit "I'm feeling Lucky".

Microsoft is notorious for moving stuff around in their websites, so I always do it that way. I even give links that way for use in the future, when MS moves the article:
http://www.google.com/search?btnI=1&q=msdn+MessageBox

For standard Linux/POSIX stuff, the method is the same: Google "man stat", or if you know what section it is in (or likely to be in), "man 2 stat".

For standard C and C++ stuff, this site has a pretty good reference section.

Hope this helps.
Topic archived. No new replies allowed.