ngsplitpath.h
来自「ResOrg 图形化管理Vc项目的资源ID的工具的源代码。 ResOrg - 」· C头文件 代码 · 共 46 行
H
46 行
#ifndef __NGSplitPath_H__
#define __NGSplitPath_H__
//////////////////////////////////////////////////////////////////////
// NGSplitPath.h : interface for the CNGSplitPath class
// (c) 1999, Kevin Lussier
//
// Modified to use Hungarian notation by Anna-Jayne Metcalfe, 29/2/2000
//////////////////////////////////////////////////////////////////////
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
class NGLIB_EXT_CLASS CNGSplitPath
{
// Construction
public:
CNGSplitPath(LPCTSTR lpszPath = NULL);
virtual ~CNGSplitPath(void) {}
// Operations
public:
BOOL Split(LPCTSTR lpszPath);
CString GetPath(void) const { return szPath; }
CString GetDrive(void) const { return szDrive; }
CString GetDirectory(void) const { return szDir; }
CString GetFileName(void) const { return szFilename; }
CString GetExtension(void) const { return szExtension; }
CString GetComputerName(void) const { return szComputer; }
// Attributes
protected:
TCHAR szPath[_MAX_PATH];
TCHAR szDrive[_MAX_DRIVE];
TCHAR szDir[_MAX_DIR];
TCHAR szFilename[_MAX_FNAME];
TCHAR szExtension[_MAX_EXT];
TCHAR szComputer[_MAX_FNAME];
};
#endif // __NGSplitPath_H__
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?