|
-
April 1st, 1999, 02:32 PM
#1
message box options
I use the following code to construct a message box;
void CMainFrame::OnDialogsMessage()
{
MessageBox("Message", "Title", MB_ICONEXCLAMATION);
}
What other options besides MB_ICONEXCLAMATION are available for message boxes?
When I do a search for messagebox on MSDN I get a billion results, none of
which help.
Any response anyone can give me will be greatly appreciated.
-
April 1st, 1999, 05:57 PM
#2
Re: message box options
Look in windows.h. The possibilities are
MB_ICONSTOP
MB_ICONQUESTION
MB_ICONEXCLAMATION
MB_ICONINFORMATION
MB_ICONMASK
There are also MB_ codes for the message box butttons
MB_OK
MB_OKCANCEL
MB_ABORTRETRYIGNORE
MB_YESNOCANCEL
MB_YESNO
etc.
and
MB_DEFBUTTON1
MB_DEFBUTTON2
etc.
-
April 1st, 1999, 06:34 PM
#3
Re: message box options
You need to search in the right place. Use the Index tab in MSDN (not the Search tab).
I found the help for MessageBox in mk:@MSITStore:c:\Program%20Files\Microsoft%20Visual%20Studio\MSDN98\98VSa\1033\winui.chm::/devdoc/live/pdui/dlgboxes_76bc.htm. Type in in the URL dialog box under the "Go" menu of MSDN.
Alvaro
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|