Solved

CWnd::MessageBox

Posted on 1997-11-06
1
590 Views
Last Modified: 2013-11-20
hello,
   i want to put an icon in my message box (CWnd::MessageBox), the MB_ICONINFORMATION, how do i
specify this in my code, because the parameters in messagebox is:

int MessageBox( LPCTSTR lpszText, LPCTSTR lpszCaption = NULL, UINT nType = MB_OK
);

none of these is for specifying the icon to put in the messagebox, please help

thanks,  carol
0
Comment
Question by:mallow
1 Comment
 
LVL 8

Accepted Solution

by:
gelbert earned 0 total points
ID: 1309496
Use MessageBox( lpszText, lpszCaption , MB_OK | MB_ICONINFORMATION );

0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now