c++ - Path shortener with MFC -
 I need to display the path in the context menu in my app and need to find a way to shorten them. For example, what Microsoft apps do in their "Recently used" list, if the original path is : the \ clientName \ projectName \ programName \ componentName \ SomeFileName.cpp  convert me into something like this Need to  c: \ ClientName \ ... \ SomeFileName.cpp . 
So I'm curious that if C ++ / MFC or maybe a WinAPI?
Use path path to shorten the path components by changing it with ellipses.
Comments
Post a Comment