共用方式為


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

Reference

PathCompactPath

Other Resources

Active Template Library (ATL) Concepts

ATL COM Desktop Components

ATL Functions Alphabetical Reference