![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Professional Programmer
|
MessageBox help needed
Hello all.
I am wanting to show a summary of the files that ViewpointKiller has deleted after the program has finished its various and sundry tasks. I was thinking of showing a MessageBox that had the summary inside of it with all of the files deleted. Problem is, I don't know how to do this, and I don't really know how to put this into search terms in Google or Msdn. I was thinking along the lines of this: char removz1 = DeleteFile("C:\\BlahBlah.tmp");
// and then...
MessageBox(hwnd, "Deleted %s", removz1, "Summary", MB_OK); // illegal code, i knowI hope you see what I mean... Also, is it possible to put a working url link inside a MessageBox? Thanks in advance.
__________________
The world's first athletic computer geek! The home of PrProgramsStudios How not to post a question: <-- Please don't reply |
|
|
|
|
|
#2 |
|
Programmer
Join Date: Jun 2005
Posts: 86
Rep Power: 4
![]() |
Use sprintf() or snprintf() to build your message string.
|
|
|
|
|
|
#3 | |
|
Caffeinated Neural Net
![]() Join Date: Jun 2005
Location: Dry west coast of Canada
Posts: 1,033
Rep Power: 5
![]() |
Quote:
__________________
And once again, Probability proves itself willing to sneak into a back alley and service Drama as would a copper-piece harlot. - Vaarsuvius, Order of the Stick |
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|