?? 使用說明.txt
字號:
在stdafx.h中加入//for explorer#include <afxconv.h>#include <Shlwapi.h>#pragma comment(lib,"shlwapi.lib")使用view/resource symbols加入ID_OPEN_HERE,用于在文件彈出菜單中加入一項"open here".在使用的地方加入#include "explorer\\explplg.h"CExplorerPlug *m_pwndExplorer;創建方法(例如,放到m_tab的m_ChildCtrlRect中):BOOL CreateExplorer(){ m_pwndExplorer = new CExplorePlug; CRect rect = m_ChildCtrlRect; if (!m_pwndExplorer->Create (WS_CHILD|WS_VISIBLE|TVS_HASLINES|TVS_HASBUTTONS|TVS_SHOWSELALWAYS, rect, &m_tab, 1)) { TRACE (_T("Failed to create CExplorePlug\n")); return FALSE; } m_pwndExplorer->SendMessage (SHLT_MODIFYPATTERN, 0, (LPARAM) _T ("*.*")); m_pwndExplorer->SendMessage (SHLT_MODIFYFLAGS, 0, SHLT_FILES|SHLT_REFRESHONEXPAND); m_pwndExplorer->ModifyStyleEx (0, WS_EX_CLIENTEDGE); return TRUE; }手工銷毀: m_pwndExplorer->DestroyWindow (); delete m_pwndExplorer; m_pwndExplorer = NULL;
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -