-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWndStore.h
54 lines (50 loc) · 1.1 KB
/
WndStore.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
//
#ifndef __WndStore_H__
#define __WndStore_H__
#endif
//
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// WndStore.h : header file
//
class CWndInfoStore : public CObject
{
public:
CWndInfoStore();
~CWndInfoStore();
void Serialize(CArchive& ar);
public:
CString m_wndName;
CString m_progName;
BOOL m_isHideWhenMinimize;
BOOL m_isHideWhenCreated;
BOOL m_isHideByRMouse;
BOOL m_isHideByDblRMouse;
int m_hideMethod;
BOOL m_isShowOnActivateApp;
int m_hideTo;
BOOL m_isActivateNextWindow;
long m_wHash;
BOOL m_isPwdUseShowWindow;
BOOL m_isChangeProcessPriority;
int m_processPriority;
BOOL m_isDontChangeProcessPriorityPM;
BOOL m_isReduceProcessMemory;
DECLARE_SERIAL(CWndInfoStore)
};
typedef CWndInfoStore* LPWNDINFOSTORE;
/////////////////////////////////////////////////////////////////////////////
// CWndStore
class CWndStore : public CFile
{
// Construction
public:
CWndStore();
~CWndStore();
BOOL ReadInfo(LPCTSTR lpszFileName);
BOOL WriteInfo(LPCTSTR lpszFileName);
private:
LPCTSTR m_lpszFileName;
BOOL m_isOpen;
};