shelltools.h

来自「TabBars的开源源码」· C头文件 代码 · 共 30 行

H
30
字号
/***************************************************************************/
/* NOTE:                                                                   */
/* This document is copyright (c) by Oz Solomonovich.  All non-commercial  */
/* use is allowed, as long as this document not altered in any way, and    */
/* due credit is given.                                                    */
/***************************************************************************/

// ShellTools.h

#ifndef SHELLTOOLS_H
#define SHELLTOOLS_H


// PIDL utilities
// - the old PIDL utilities have been superseded by the CPIDL class

// icon extraction
typedef void (*RECEIVERFUNC)(HICON, LPVOID);
HICON GetFileIcon(LPCTSTR pszPath, UINT uFlags = 0, 
                  RECEIVERFUNC pReceiver = NULL, LPVOID pContext = 0);

// open folder
enum OpenMethods { defaultAction, open, explore, exploreFrom };

void OpenLocation(CString& cLocation, OpenMethods aMethod);



#endif  // SHELLTOOLS_H

⌨️ 快捷键说明

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