AxibugEmuOnline/References/virtuanessrc097-master/MemoryView.h
2024-08-05 17:58:53 +08:00

56 lines
2.1 KiB
C++
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// メモリビュークラス
//
#ifndef __CMEMORYVIEW_INCLUDED__
#define __CMEMORYVIEW_INCLUDED__
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <string>
using namespace std;
#include "Wnd.h"
class CMemoryView : public CWnd
{
public:
// Constructor/Destructor
CMemoryView();
~CMemoryView();
// Override from CWnd
BOOL Create( HWND hWndParent );
void Destroy();
protected:
// Message map
WND_MESSAGE_MAP()
WNDMSG OnCreate( WNDMSGPARAM );
WNDMSG OnClose( WNDMSGPARAM );
WNDMSG OnDestroy( WNDMSGPARAM );
WNDMSG OnActivate( WNDMSGPARAM );
WNDMSG OnSize( WNDMSGPARAM );
WNDMSG OnLButtonDown( WNDMSGPARAM );
WNDMSG OnMouseWheel( WNDMSGPARAM );
WNDMSG OnChar( WNDMSGPARAM );
WNDMSG OnKeyDown( WNDMSGPARAM );
WNDMSG OnVScroll( WNDMSGPARAM );
WNDMSG OnPaint( WNDMSGPARAM );
WNDMSG OnTimer( WNDMSGPARAM );
//
void OnDraw( HDC hDC );
static LOGFONT m_logFont;
HFONT m_hFont;
INT m_StartAddress;
INT m_DispLines;
INT m_CursorX, m_CursorY;
private:
};
#endif // !__CMEMORYVIEW_INCLUDED__