mylist.cpp

来自「涉及到SkinMagicLiB等多种界面开发库的应用」· C++ 代码 · 共 57 行

CPP
57
字号
// myList.cpp : implementation file
//

#include "stdafx.h"
#include "简易编程器.h"
#include "myList.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CmyList

CmyList::CmyList()
{
}

CmyList::~CmyList()
{
}


BEGIN_MESSAGE_MAP(CmyList, CListBox)
	//{{AFX_MSG_MAP(CmyList)
	ON_WM_RBUTTONUP()
	ON_WM_KEYUP()
	ON_WM_LBUTTONDBLCLK()
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CmyList message handlers

void CmyList::OnRButtonUp(UINT nFlags, CPoint point) 
{
	// TODO: Add your message handler code here and/or call default
	
	CListBox::OnRButtonUp(nFlags, point);
}

void CmyList::OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags) 
{
	// TODO: Add your message handler code here and/or call default
	
	CListBox::OnKeyUp(nChar, nRepCnt, nFlags);
}

void CmyList::OnLButtonDblClk(UINT nFlags, CPoint point) 
{
	// TODO: Add your message handler code here and/or call default
	
	CListBox::OnLButtonDblClk(nFlags, point);
}

⌨️ 快捷键说明

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