?? shortcutdlg.h
字號:
// ShortCutDlg.h : header file
//
#if !defined(AFX_SHORTCUTDLG_H__962BA007_7FC3_11D6_8F32_00E04CE76240__INCLUDED_)
#define AFX_SHORTCUTDLG_H__962BA007_7FC3_11D6_8F32_00E04CE76240__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CShortCutDlg dialog
class CShortCutDlg : public CDialog
{
// Construction
public:
CShortCutDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CShortCutDlg)
enum { IDD = IDD_SHORTCUT_DIALOG };
int m_nLocation;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CShortCutDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
//起始文件夾的PIDL
int nBeginAt;
BOOL BrowseForFolder(
LPITEMIDLIST pidlRoot,//瀏覽開始處的PIDL
LPITEMIDLIST *ppidlDestination,
//瀏覽結束時所選擇的PIDL
LPCSTR lpszTitle);//瀏覽對話框中的提示文字
//取得快捷方式的目標應用程序名
BOOL SelectMenuItem( LPSTR szFileName);
//取得要創建的快捷方式的名字
BOOL GetShortcutCrt(LPSTR szPath);
//創建快捷方式
BOOL CreateLink (
LPSTR szPath,//快捷方式的目標應用程序名
LPSTR szLink);//快捷方式的數據文件名(*.lnk)
//刪除文件夾
BOOL DeleteFolder( LPSTR pszFolder);
//取得要刪除的快捷方式
BOOL GetShortcutDel (
LPSTR lpszInitDir,//選擇文件的開始目錄
LPSTR lpszShortcut);//快捷方式名
//刪除快捷方式的數據文件 (*.lnk)
BOOL DeleteLink( LPSTR lpszShortcut);
// 通知shell有關變化
void NotifyShell(LONG wEventId,//事件標志
LPSTR szPath);//路徑
// Generated message map functions
//{{AFX_MSG(CShortCutDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnCreateGroup();
afx_msg void OnCreateItem();
afx_msg void OnDeleteGroup();
afx_msg void OnDeleteItem();
afx_msg void OnDestroy();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SHORTCUTDLG_H__962BA007_7FC3_11D6_8F32_00E04CE76240__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -