mmxshellgenelal.h

来自「类似 windows explorer的工具」· C头文件 代码 · 共 55 行

H
55
字号
///////////////////////////////////////////////////////////////////////////////
// Copyright (C), 2003, iSoft Tech. Co., Ltd.
// FileName: MMXShellGenelal.h
// Description:
//  interface for the CMMXShellGenelal class.
// Note:
// Function List:
// History:
// <author>   <time>      <version> <desc>
// TrueZq     2004-01-15   1.0      build this moudle  
///////////////////////////////////////////////////////////////////////////////
//
//////////////////////////////////////////////////////////////////////
#include "Common\ShellContextMenu.h"
//#include "iSShellCommon.h"

#if !defined(AFX_MMXSHELLGENELAL_H__621B9064_9EF2_4576_91DF_AE7BC7982490__INCLUDED_)
#define AFX_MMXSHELLGENELAL_H__621B9064_9EF2_4576_91DF_AE7BC7982490__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CMMXShellGenelal  
{
public:
	CMMXShellGenelal();
	virtual ~CMMXShellGenelal();

public:
    static SDesktopFolderPtr m_pDesktopFolder; //以前是私有,Fixed by truezq

public:
    static BOOL GetItemContextMenu(TVITEMDATA* pData,
        CShellContextMenu &rCtxMenu);

    static CString GetVDisplayName(SShellFolderPtr& pParentFolder, 
        LPCITEMIDLIST pidl);
    
    static BOOL IsShowVirtualObject(BOOL bIsUDisk,
        SShellFolderPtr& pParentFolder,
        LPCITEMIDLIST pidlParent, LPCITEMIDLIST pidl);

    static BOOL IsMyComputer(LPCITEMIDLIST pidl);
    
    static ULONG GetObjectAttributes(SShellFolderPtr pParentFolder, 
        CShellPidl& pidlAbs, ULONG nFlag);
    
    static CString GetDisplayName(SShellFolderPtr pParentFolder, 
        CShellPidl& pidlAbs, UINT nFlags);
    
};

#endif // !defined(AFX_MMXSHELLGENELAL_H__621B9064_9EF2_4576_91DF_AE7BC7982490__INCLUDED_)

⌨️ 快捷键说明

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