hexdlg.h

来自「dos系统下的16进制文件内容察看器源码」· C头文件 代码 · 共 65 行

H
65
字号
//---------------------------------------------------------------------------------------

// Quick Hex Shell extension
// Copyright (c) 2000 by Shanker.C
// All rights reserved
// Author's consent required if this program is to be used for commercial purposes
// No warranty of any kind, expressed or implied, is included with this
// software; use at your own risk, responsibility for damages (if any) to
// anyone resulting from the use of this software rests entirely with the user.
// Please send comments/suggestions/criticisms to: Shanker@xlprint.com
// March 7, 2000

//---------------------------------------------------------------------------------------

#ifndef _HEXDLG_H_
#define _HEXDLG_H_

//----------------------------------------------------------------------------------------------------------//

#include <afxwin.h>
#include "mylistctrl.h"
#include "resource.h"

//----------------------------------------------------------------------------------------------------------//

class CAbtDlg : public CDialog
{

};
 
class CHexDlg : public CDialog 
{
	public:

		CHexDlg(char* szPath, CWnd* pParentWnd = NULL) : CDialog(IDD_HEXDLG, pParentWnd)
		{
			_Module.m_nLockCnt++; // Prevent .dll from unloading
			memset(m_szPath, NULL, sizeof(m_szPath));
			strcpy(m_szPath, szPath);
		}
		virtual BOOL OnInitDialog();
		

	private:

		CMyListCtrl m_MyListCtrl;
		CFont m_Font;
		char m_szPath[MAX_PATH];

			
	protected:

		virtual void OnOK();
		virtual void OnCancel();
		virtual void PostNcDestroy();

		DECLARE_MESSAGE_MAP()
};

//----------------------------------------------------------------------------------------------------------//

#endif // _SRDLG_H_

//----------------------------------------------------------------------------------------------------------//

⌨️ 快捷键说明

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