![delphi 7 quickreport to image delphi 7 quickreport to image](https://2.bp.blogspot.com/-oQgV9Ij2A9E/XJRfXMk1DLI/AAAAAAAAA6c/gChTHqtClKoksAkdHFhHtGWMrGWyZYtFgCEwYBhgL/s1600/print12.png)
This component must shut down its //* interception of shell events when system shutdown is begun, lest //* the system fail to shut down at the user's request. * //* There is one more event: OnEndSessionQuery, which has the same //* parameters as the standard Delphi OnCloseQuery (and can in fact //* be your OnCloseQuery handler). So assigning //* an event handler suffices to indicate your intention to trap the //* corresponding shell event. * Each time an event property is changed, the component is reset to //* trap only those events for which handlers are assigned. * In some cases, such as OnAssocChanged, neither Path parameter //* means anything, and in other cases, I guessed, but we always //* pass at least one.
![delphi 7 quickreport to image delphi 7 quickreport to image](https://i.ytimg.com/vi/mZKj3vzl4xU/maxresdefault.jpg)
For example, OnDelete gives //* only the name of the file (including path) that was deleted //* but OnRenameFolder gives the original folder name in Path1 //* and the new name in Path2. Whether both are passed depends on whether the second //* is needed to describe the event. * Path1, Path2: strings which are the paths affected by the shell //* event. This parameter //* allows multiple events to share handlers and still distinguish //* the reason the handler was triggered. * Flags=the value indentifying the event that triggered the handler, //* from the constants in the SHChangeNotify help. * Each event handler is passed either three or four parameters- //* Sender=this component. * //* Events: //* The component has an event corresponding to each event it can //* trap, e.g. * //* Methods: //* Execute: Begin monitoring the selected shell events. * HardDriveOnly: when set to True, the component monitors only local //* hard drive partitions when set to False, monitors the //* entire file system. * TextCase: tcAsIs (default), tcLowercase, or tcUppercase, determines //* whether and how the Path parameters passed to your event //* handlers are case-converted. The default is WM_USER (1024) you may //* set it to some other value if you're using WM_USER for //* any other purpose.
#DELPHI 7 QUICKREPORT TO IMAGE WINDOWS#
* //* Properties: //* MessageNo: the Windows message number which will be used to signal //* a trapped event. (Moving an item yields //* the same results as renaming it.) For the complete list //* of events the component can trap, see Win32 Programmer's //* reference description of the SHChangeNotify API call. For a complete (and probably //* more accurate) overview of shell change notifcations, //* please refer to James' "Shell Notifications" page at //* //* //* This component will let you know when selected events //* occur in the Windows shell, such as files and folders //* being renamed, added, or deleted. I quote here from Brad's expression of gratitude to //* James: //* Interpretation of the shell's undocumented functions //* SHChangeNotifyRegister (ordinal 2) and SHChangeNotifyDeregister //* (ordinal 4) would not have been possible without the //* assistance of James Holderness. //* //* I owe this component to James Holderness, who described the //* use of the undocumented Windows API calls it depends upon, //* and Brad Martinez, who coded a similar function in Visual //* Basic. 3.0, October 2000 // // See the README.TXT file for revision history.