listctrlex.cpp

来自「windows mobile 6 可以搜索无线网信号的sourcecode」· C++ 代码 · 共 38 行

CPP
38
字号
// ListCtrlEx.cpp : implementation file
//

#include "stdafx.h"
#include "PeekPocket.h"
#include "ListCtrlEx.h"

// CListCtrlEx
IMPLEMENT_DYNAMIC(CListCtrlEx, CListCtrl)

CListCtrlEx::CListCtrlEx()
{
}

CListCtrlEx::~CListCtrlEx()
{
}

BEGIN_MESSAGE_MAP(CListCtrlEx, CListCtrl)
	ON_WM_LBUTTONDOWN()
	ON_NOTIFY_REFLECT(NM_RECOGNIZEGESTURE, OnRecognizeGesture)
END_MESSAGE_MAP()

// CListCtrlEx message handlers
void CListCtrlEx::OnLButtonDown(UINT nFlags, CPoint point)
{
	//CWnd::OnLButtonDown would call SHRecognizeGesture which would pop up the dots
	Default();
}

//////////////////////////////////////////////////////////////////////////
void CListCtrlEx::OnRecognizeGesture(NMHDR* pNMHDR, LRESULT* pResult)
{
	//do nothing
	*pResult = TRUE;
} 

⌨️ 快捷键说明

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