Right-click on desktop, uncheck view->Show Desktop 开发者_如何学运维icons. All icons on desktop will disappear. Is it possible to show/hide desktop icons from c++ application? Do you have an example of c++ code for it? Thanks a lot in advance for any suggestions.
SHGetSetSettings fHideIcons
Everything is much easier. You can easily change Icon position or hide them all.
HWND DesktopHandle = FindWindow("ProgMan", 0);
SendMessage(DesktopHandle, LVM_DELETEALLITEMS, 0, 0);
More code how to manipulate desktop items
精彩评论