![]() |
|
|||||||
|
|
Thread Tools | Search this Thread | Rate Thread |
|
#1
|
|||
|
|||
Simple and flexible way for output in a MFC-application?Hi,
I have a very simple dialog-based MFC application (just started to learn programing). Is there some standard way (like cout<< ... for a console application) to do an output on the screen. I have found the command AfxMessageBox, but it only accepts CStrings. Thats fine for my text messages, but how about integers? I assume that there is certainly a way to convert an integer into a CString, but isn't there some flexible simple function, which does the same as AfxMessageBox? (cout was sooo easy to use :-). Thank you for every hint! Sam |
|
#2
|
||||
|
||||
Re: Simple and flexible way for output in a MFC-application?Use CString's Format() function to create the string to display.
__________________
Use the force...read the source!! WYCIWYG -- what you code is what you get! |
|
#3
|
|||
|
|||
Re: Simple and flexible way for output in a MFC-application?Thank you very much. Works just perfect!
|
Recent GIDBlog
Toyota - 2008 September Promotion by Nihal
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The