Solved

CWnd::MessageBox

Posted on 1997-11-06
1
600 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 Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Windows Drag & Drop Location 2 111
Host to IP 7 82
ffmpeg - "rtsp://...... Operation not permitted" 4 87
SQUD PROXY SERVER, UNIX, SLL/HTTPS 5 113
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: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

679 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