tpropertiesgeneral.h

来自「mpq文件的格式就是一种压缩格式」· C头文件 代码 · 共 51 行

H
51
字号
/*****************************************************************************/
/* TPropertiesGeneral.h                   Copyright (c) Ladislav Zezula 2003 */
/*---------------------------------------------------------------------------*/
/* Description :                                                             */
/*---------------------------------------------------------------------------*/
/*   Date    Ver   Who  Comment                                              */
/* --------  ----  ---  -------                                              */
/* 09.04.03  1.00  Lad  The first version of TPropertiesGeneral.h            */
/*****************************************************************************/

#ifndef __TPROPERTIESGENERAL_H__
#define __TPROPERTIESGENERAL_H__

//-----------------------------------------------------------------------------
// TPropertiesGeneral dialog

class TPropertiesGeneral : public CPropertyPage
{
	DECLARE_DYNCREATE(TPropertiesGeneral)

    // Construction
    public:
	TPropertiesGeneral();
	~TPropertiesGeneral();

    void SetInfo(const char * szMpqName, const char * szFileName, HANDLE hMpq, HANDLE hFile);

	//{{AFX_DATA(TPropertiesGeneral)
	enum { IDD = IDD_PROPERTIES_GENERAL };
	//}}AFX_DATA

    const char * m_szMpqName;
    const char * m_szFileName;
    HANDLE m_hMpq;                      // MPQ handle
    HANDLE m_hFile;                     // File handle
    LCID   m_lcLocale;                  // Locale for the file (only if m_bChanged == TRUE)
    BOOL   m_bChanged;                  // TRUE if settings changed

	//{{AFX_VIRTUAL(TPropertiesGeneral)
	//}}AFX_VIRTUAL

    protected:
	//{{AFX_MSG(TPropertiesGeneral)
	virtual BOOL OnInitDialog();
	afx_msg void OnLanguageChange();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#endif // __TPROPERTIESGENERAL_H__

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?