Example-VB | Example-VC++ |
This event occurs when one of the following methods is invoked:
Display
The Close event can be used to indicate to end users that the displayed image is about to be closed.
Ö | Imaging for Windows Professional Edition V1.0, V1.1, and V2.0 |
Ö | Imaging for Windows 95 and 98 |
Ö | Imaging for Windows NT 4.0 |
Image Edit control
Sub object_Close( )
None
Once a Close event occurs, any changes made to displayed images are lost unless the Save, SaveAs, or SavePage method is invoked.
If desired, your program can check the ImageModified property to see if any changes have been made to the displayed image. If changes have been made, the program can be written so it prompts end users to save the changes.