Patent ID: 6874139

Claim:
A method for associating file activity of an application with the graphical display of the file on a screen comprising the steps of: loading by an operating system an executable code of a message monitoring program adapted to monitoring a message sent by an operating system to a document display window; establishing by the message monitoring program a system-wide window hook using available operating system API functions, said system-wide window hook associated with one or more functions in a library of said message monitoring program; loading the message monitoring program library into the memory space of an application program, said application having been newly started and having an import table and a newly created window; fixing the import table of the application with addresses of functions from the message monitoring program library; and substituting the application's main window function with a message monitoring program window function; Wherein said method further comprising, upon receipt of a document window destroy message by a document's notify window, checking for the existence of a child notify window associated with a file that was opened in association with said document, and acting upon said associated file before destroying said document window, wherein an action includes deleting a temporary file from a mass storage device, wherein the deletion includes the steps of wiping the device sectors of the data contained therein, and renaming the temporary file to a name consisting of one letter prior to deletion.