⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 selectedit.cpp

📁 通过vc语言从任意一个文件夹的读出文件名和路径操作的程序
💻 CPP
字号:
// SelectEdit.cpp : implementation file
//

#include "stdafx.h"
#include "ExtractFileList.h"
#include "SelectEdit.h"

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

/////////////////////////////////////////////////////////////////////////////
// CSelectEdit

CSelectEdit::CSelectEdit()
{
}

CSelectEdit::~CSelectEdit()
{
}


BEGIN_MESSAGE_MAP(CSelectEdit, CEdit)
	//{{AFX_MSG_MAP(CSelectEdit)
	ON_WM_KEYDOWN()
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CSelectEdit message handlers

void CSelectEdit::OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags)
{
    if( (GetAsyncKeyState(VK_CONTROL) & 0x8000) )
    {
        if('A' == nChar)
        {
            SetSel(0, -1);
        }
    }
    CEdit::OnKeyDown(nChar, nRepCnt, nFlags);
}

⌨️ 快捷键说明

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