2 |
|
// |
3 |
|
// Douglas Thrift |
4 |
|
// |
5 |
< |
// $Id: VTBFileUtil2.h,v 1.2 2003/08/16 04:56:17 douglas Exp $ |
5 |
> |
// $Id: VTBFileUtil2.h,v 1.3 2003/08/16 06:44:42 douglas Exp $ |
6 |
|
|
7 |
|
#ifndef _VTBFileUtil_h_ |
8 |
|
#define _VTBFileUtil_h_ |
18 |
|
#include <vector> |
19 |
|
|
20 |
|
#include <windows.h> |
21 |
+ |
#include <commctrl.h> |
22 |
|
|
23 |
|
using namespace std; |
24 |
|
|
27 |
|
extern string programName; |
28 |
|
extern string programVersion; |
29 |
|
|
30 |
+ |
enum Mode { none, disc, scan }; |
31 |
+ |
|
32 |
|
void usage(HINSTANCE instance, HWND parent = NULL); |
33 |
|
void version(HINSTANCE instance, HWND parent = NULL); |
34 |
+ |
void choice(Mode& mode, HINSTANCE instance, HWND parent = NULL); |
35 |
|
inline void center(HWND window) |
36 |
|
{ |
37 |
|
RECT rect, dialog, desktop; |