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.
27 lines
588 B
27 lines
588 B
#ifndef __RESID_H_INCLUDED
|
|
#define __RESID_H_INCLUDED
|
|
|
|
#include <windows.h>
|
|
|
|
class CResId
|
|
{
|
|
private:
|
|
LPTSTR m_pszRes;
|
|
int m_nRes;
|
|
bool m_bIsString;
|
|
public:
|
|
CResId( LPTSTR pszRes = NULL );
|
|
CResId( int nRes );
|
|
CResId( const CResId &other );
|
|
virtual ~CResId(void);
|
|
const CResId &operator=( const CResId &other );
|
|
LPCTSTR ResourceName(void) const;
|
|
LPCTSTR StringRes(void) const;
|
|
LPCTSTR StringRes( LPCTSTR pszRes );
|
|
int NumberRes(void) const;
|
|
int NumberRes( int nRes );
|
|
bool IsString(void) const;
|
|
};
|
|
|
|
#endif
|
|
|