You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
1.5 KiB
56 lines
1.5 KiB
//
|
|
// propgeneral.h: general property page
|
|
// Tab A
|
|
//
|
|
// Copyright Microsoft Corportation 2000
|
|
// (nadima)
|
|
//
|
|
|
|
#ifndef _propgen_h_
|
|
#define _propgen_h_
|
|
|
|
#include "sh.h"
|
|
#include "tscsetting.h"
|
|
|
|
class CPropGeneral
|
|
{
|
|
public:
|
|
CPropGeneral(HINSTANCE hInstance, CTscSettings* pTscSet,CSH* pSh);
|
|
~CPropGeneral();
|
|
|
|
//General tab
|
|
static INT_PTR CALLBACK StaticPropPgGeneralDialogProc (HWND hwndDlg,
|
|
UINT uMsg,
|
|
WPARAM wParam,
|
|
LPARAM lParam);
|
|
INT_PTR CALLBACK PropPgGeneralDialogProc(HWND hwndDlg,
|
|
UINT uMsg,
|
|
WPARAM wParam,
|
|
LPARAM lParam);
|
|
void SetTabDisplayArea(RECT& rc) {_rcTabDispayArea = rc;}
|
|
|
|
private:
|
|
BOOL LoadGeneralPgStrings();
|
|
BOOL OnSave(HWND hwndDlg);
|
|
BOOL OnLoad(HWND hwndDlg);
|
|
BOOL OnChangeUserName(HWND hwndDlg);
|
|
void DlgToSettings(HWND hwndDlg);
|
|
|
|
private:
|
|
//Private members
|
|
CTscSettings* _pTscSet;
|
|
static CPropGeneral* _pPropGeneralInstance;
|
|
HINSTANCE _hInstance;
|
|
|
|
//Resource string that describes remote desktop files
|
|
TCHAR _szFileTypeDescription[MAX_PATH];
|
|
|
|
CSH* _pSh;
|
|
RECT _rcTabDispayArea;
|
|
};
|
|
|
|
#endif //_propgen_h_
|
|
|
|
|
|
|
|
|