|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
MessageBox
i want to add some features to MessageBox. does anybody know where the function is defined? i need it to model my own messagebox from it.
|
|
#2
|
||||
|
||||
|
IIRC, MessageBox is a Windows OS function call.
http://msdn.microsoft.com/library/d.../messagebox.asp MFC has a wrapper function around this call, to pass some parameters to it by default, if you don't specify them explicitly, but other than that, there's not much more you can do to it. The function was designed to provide a consistent set of message boxes. If you want to make your own message box, you're probably better off making your own Dialog window and displaying it. |
|
#3
|
||||
|
||||
|
Within MFC, MessageBox is a method of the CWnd class.
The same functionality is found in a global function, AfxMessageBox. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > C Programming > MessageBox |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|