home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Windows Gam…ming Gurus (2nd Edition)
/
Disc2.iso
/
msdn_vcb
/
samples
/
vc98
/
addins
/
pipe
/
mrustrings.h
< prev
next >
Wrap
C/C++ Source or Header
|
1998-04-02
|
803b
|
29 lines
// MRUStrings.h: interface for the CMRUStrings class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_MRUSTRINGS_H__BF23C403_9135_11D1_8302_00A0C91BC942__INCLUDED_)
#define AFX_MRUSTRINGS_H__BF23C403_9135_11D1_8302_00A0C91BC942__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CMRUStrings
{
public:
BOOL Create(HKEY hKeyParent, LPCTSTR lpszKeyName, CString& strName);
BOOL SetString(int i, CString& strVal);
BOOL GetString(int i, CString& strVal);
BOOL Create(CRegKey& key, CString& strName);
CMRUStrings();
virtual ~CMRUStrings();
protected:
CString m_strName;
int m_cElementsMax;
CRegKey m_regKey;
};
#endif // !defined(AFX_MRUSTRINGS_H__BF23C403_9135_11D1_8302_00A0C91BC942__INCLUDED_)