开发者

get processes icon mfc c++

I am making a Process-Viewer like app. in windows which displays all the processes currently running in a CListCtrl . No开发者_StackOverflow社区w i want to get the icons of the processes and show them to the listCtrl. please help me how can i do that ?? thanks.


You can accomplish this using any of the following methods:

  • The ExtractAssociatedIcon function.
  • The SHGetFileInfo shell function
  • The IExtractIcon shell interface
  • The ExtractIconEx function

Of these, the SHGetFileInfo may be the easiest.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜