Browse Subversion Repository
Contents of /trunk/FileIO/src/OptionDlg.h
Parent Directory
| Revision Log
Revision 119 -
( show annotations)
( download)
( as text)
Fri Oct 8 15:41:45 2010 UTC
(13 years, 7 months ago)
by kamoya
File MIME type: text/x-chdr
File size: 848 byte(s)
avoid ARRAYSIZE macro
| 1 |
#ifndef OPTIONDLG_H |
| 2 |
#define OPTIONDLG_H |
| 3 |
|
| 4 |
#include <windows.h> |
| 5 |
|
| 6 |
#include "../../Common/tstring.h" |
| 7 |
|
| 8 |
namespace Regnessem |
| 9 |
{ |
| 10 |
namespace AddIn |
| 11 |
{ |
| 12 |
namespace FileIO |
| 13 |
{ |
| 14 |
class OptionDlg |
| 15 |
{ |
| 16 |
private: |
| 17 |
static const LPCTSTR SectionName; |
| 18 |
class KeyName |
| 19 |
{ |
| 20 |
public: |
| 21 |
static const LPCTSTR DialogCaption; |
| 22 |
static const LPCTSTR Ok; |
| 23 |
static const LPCTSTR Cancel; |
| 24 |
static const LPCTSTR PlaceToStoreReceivedFile; |
| 25 |
static const LPCTSTR SelectFilePath; |
| 26 |
}; |
| 27 |
//----------------------- |
| 28 |
void OnInitDialog(HWND hDialog) const; |
| 29 |
void OnEndDialog(HWND hDialog, DWORD modalResult); |
| 30 |
static INT_PTR CALLBACK DialogFunc(HWND hDialog, UINT message, WPARAM wParam, LPARAM lParam); |
| 31 |
public: |
| 32 |
tstring FileDir; |
| 33 |
INT_PTR ShowOptionDialog(HWND parent) const; |
| 34 |
}; |
| 35 |
} |
| 36 |
} |
| 37 |
} |
| 38 |
|
| 39 |
#endif |
|