Solved

CWnd::MessageBox

Posted on 1997-11-06
1
596 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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ORA-01403: no data found 43 101
string initialization in java 11 113
firstChar challenge 13 115
Making an alias 7 95
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
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 a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

778 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