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 264 by douglas, 2003-08-16T17:43:49-07:00 vs.
Revision 267 by douglas, 2003-08-18T15:25:29-07:00

# Line 2 | Line 2
2   //
3   // Douglas Thrift
4   //
5 < // $Id: VTBFileUtil2.cxx,v 1.7 2003/08/17 00:43:49 douglas Exp $
5 > // $Id: VTBFileUtil2.cxx,v 1.9 2003/08/18 22:25:29 douglas Exp $
6  
7   #include "VTBFileUtil2.h"
8   #include "Chooser.h"
# Line 190 | Line 190 | int WINAPI WinMain(HINSTANCE hInstance,
190  
191          if (mode == disc)
192          {
193 <                MessageBox(NULL, "Disc Browse mode", programName.c_str(),
194 <                        MB_ICONINFORMATION);
193 >                DiscBrowse browser;
194 >
195 >                browser.run();
196          }
197          else if (mode == scan)
198          {
199 <                MessageBox(NULL, "Scan Utility mode", programName.c_str(),
200 <                        MB_ICONINFORMATION);
199 >                ScanUtility utility;
200 >
201 >                utility.run();
202          }
203  
204          if (debug)
# Line 239 | Line 241 | void tooltip(HWND tool, const string& ti
241          toolinfo.rect.bottom = rect.bottom;
242  
243          SendMessage(tooltip, TTM_ADDTOOL, 0, LPARAM(LPTOOLINFO(&toolinfo)));
244 +
245 +        delete [] ctip;
246   }
247  
248   INT_PTR CALLBACK usage(HWND dialog, UINT msg, WPARAM w, LPARAM l)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines