ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/proj/trunk/VTBFileUtil2/VTBFileUtil2.cxx
(Generate patch)

Comparing trunk/VTBFileUtil2/VTBFileUtil2.cxx (file contents):
Revision 268 by douglas, 2003-08-18T21:39:38-07:00 vs.
Revision 273 by douglas, 2003-08-20T23:29:24-07:00

# Line 2 | Line 2
2   //
3   // Douglas Thrift
4   //
5 < // $Id: VTBFileUtil2.cxx,v 1.10 2003/08/19 04:39:38 douglas Exp $
5 > // $Id: VTBFileUtil2.cxx,v 1.11 2003/08/21 06:29:24 douglas Exp $
6  
7   #include "VTBFileUtil2.h"
8   #include "Chooser.h"
# Line 230 | Line 230 | INT_PTR CALLBACK usage(HWND dialog, UINT
230                                  << "  -disc\t\tStart in Disc Browse mode\n"
231                                  << "  -scan\t\tStart in Scan Utility mode\n";
232  
233 <                        SendMessage(GetDlgItem(dialog, IDC_USAGE_TEXT), WM_SETTEXT, 0,
234 <                                LPARAM(usage.str().c_str()));
233 >                        SetDlgItemText(dialog, IDC_USAGE_TEXT, usage.str().c_str());
234                  }
235                  break;
236          case WM_COMMAND:
# Line 264 | Line 263 | INT_PTR CALLBACK version(HWND dialog, UI
263                          version << programName << " (" << programVersion << ")\n\n"
264                                  << "Copyright © 2003, Douglas Thrift.\n";
265  
266 <                        SendMessage(GetDlgItem(dialog, IDC_VERSION_TEXT), WM_SETTEXT, 0,
268 <                                LPARAM(version.str().c_str()));
266 >                        SetDlgItemText(dialog, IDC_VERSION_TEXT, version.str().c_str());
267                  }
268                  break;
269          case WM_COMMAND:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines