Enter the undocumented API functions SHChangeNotifyRegister and SHChangeNotifyDeregister. This demo shows how an application can use these functions to register itself with the shell, allowing the application to be notified of any specified changes that were made in any specified part of the namespace, from the desktop folder on down. The demo also provides a rather interesting study of what is actually happening in the namespace as well...
Leslie
Anything worth doing is a lot more difficult than it's worth - Unknown Induhvidual
Seeing as this is the Borland Delphi forum, you'll probably get a better answer in the Borland C++ Builder (BCB) forum: forum101.
Clive
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"To err is human, but to really foul things up you need a computer." (Paul Ehrlich)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To get the best answers from this forum see: faq102-5096
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.