home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.misc
- Path: sparky!uunet!orca!javelin.sim.es.com!gfowler
- From: gfowler@javelin.sim.es.com (Gary Fowler)
- Subject: VB: Recognizing File System Changes
- Message-ID: <C1L47D.91n@javelin.sim.es.com>
- Organization: Evans & Sutherland Computer Corp.
- Date: Thu, 28 Jan 1993 22:09:12 GMT
- Lines: 22
-
-
- How can I make a File List Box recognize changes to the file system?
- I know that I can use the Refresh method to force the File List Box
- to update but how do I know when to refresh it? If my application
- changes the contents of the directory then I can simply do a refresh
- at that time, but what if another application changes the contents
- of the directory? Is there an API call that will cause the application
- to be notified? There must be some way to do it because the File Manager
- gets notified. I guess I could set a timer event to refresh periodically
- but I'd rather not waste cpu cycles. Any suggestions would be greatly
- appreciated.
-
- Thanx,
- Gary Fowler
-
- ********************************************************************************
- * Gary Fowler * The storm starts when the drops *
- * gfowler@esunix.sim.es.com * start dropping. When the drops *
- * Evans & Sutherland * stop dropping then the storm *
- * 600 Komas Drive * starts stopping. *
- * Salt Lake City, UT * -Dr. Seuss *
- ********************************************************************************
-