共用方式為


ATLPath::CompactPath

This function is an overloaded wrapper for PathCompactPath.

inline BOOL CompactPath(
   HDC hDC,
   char* pszPath,
   UINT dx 
);
inline BOOL CompactPath(
   HDC hDC,
   wchar_t* pszPath,
   UINT dx 
);

Remarks

See PathCompactPath for details.

Requirements

Header: atlpath.h

See Also

Concepts

ATL Concepts

ATL Reference

ATL Functions Alphabetical Reference

PathCompactPath