|
-
June 11th, 1999, 04:14 PM
#1
File contents changes, how to update view
Hi:
I am currently using Stingray OE, OT & OG. We are using Stingray library to help loading the project file and resources and display on the screen.
The issue is: If I use a different editor or DLL that performing some task changes the file in the disk.
The view did not get refreshed automatically, or notify the use that the file content has changed. The document in memory is not automatically notified.
I found out that Microsoft Developer Studio caches information about each open file and upon receiving a WM_MDIACTIVATE message compares the cached information with the current file information. If the file has changed, it then asks the user if they would like to load the changed file. Unfortunately, this functionality is not built into the Microsoft MDI classes upon which the Stingray SECMDI classes are derived.
Any pointer where to get a sample code ?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|