Solved

How to detect document updated by external editor???

Posted on 1998-11-13
1
155 Views
Last Modified: 2013-11-20
Hi

I'm writing a simple text editor....
Let's say the user has created a new text file from my application....

While the application is still on, the user has invoked another application to edit the same file...

How do my application detect the change & refresh when the user has returned back to my application???

Thanks in advance... :-)
0
Comment
Question by:ymw1
1 Comment
 
LVL 1

Accepted Solution

by:
Bridge earned 50 total points
ID: 1324619
When you open the text file in your application set the CFile::shareExclusive file mode and you wont have to worry about it.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Windows Drag & Drop Location 2 108
Expand LInux Boot partition remotly 3 98
Get filename and folder into excel 7 79
Shell script to login to remote m/c and execute commands 10 78
Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question