MessageBox in Visual C++ 2005?

  • Hey guys,

    I'm normally a Visual Basic/C# programmer and am now trying to transition over to C++a bit. I can really use help tho, see I want to learn how to make a simple message box show in C++. How can I transfer somthing like msgbox("yo") to C++?

    Any help appreciated, thanks.

    -Andrew


  • ::MessageBox( NULL, TEXT("OK"), TEXT("OK"), MB_OK );
    From MSDN (http://msdn2.microsoft.com/en-us/library/ms645505.aspx)


  • Refer to this thread - http://www.kirupa.com/forum/showthread.php?t=265290

    One of the biggest differences between C#/managed C++ and C++ is the Windows UI. The advantage of using the Windows API instead of CLR is that your code will be portable as long as you keep the Windows part separate from your main code.







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about MessageBox in Visual C++ 2005? , Please add it free.