VB DeskTop Icon Restorer Ver 3.02 Win95+98 Only

CodeGuru content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.

VB DeskTop Icon Restorer Ver 3.02 Win95+98 Only

This code builds on the previous article Locating Desktop Icon Positions using

Memory Mapped Files.

screen-shot

The attached program has the following features :



  • Locate DeskTop Icons

  • Get Text from Desktop Icons

  • Multiple Desktop Icon Position Restorer and Saver

  • Hide\Unhide any Icon

  • Retrieve Icon Images

  • Detect Screen Resolution Changes and Restore Icon Pattern regardless of resolution change
  • Hide\UnHide TaskBar

  • Use Global HotKey to bring up App

  • Dynamically change screen resolutions while restoring Icon Pattern

This program makes a handy companion to QuickRes, and also helps make your desktop

‘childproof’.

The project demonstrates advanced API routines, including :



  • Memory-Mapped files – for cross-process messaging
  • Subclassing – to detect messages
  • Creating a global HotKey – to call your app while it doesn’t have the focus

Known Bugs

This code does not work under windows NT. You can get it to work under NT by changing the

API declares to use their Unicode equivilent.

Download Zipped Project File (36k)

More by Author

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends & analysis

Must Read