If LegacyBitmap is true then you can access the ImageEnView.Bitmap.Modified property.
The ImageEnView.Bitmap.Modified property is not automatically set when the bitmap changes so you have to do that manually in code:
ImageEnView.Proc.ConvertToGray;
ImageEnView.Bitmap.Modified := True;
Also...
ImageEnView.Bitmap.Modified := ImageEnView.Proc.CanUndo;
If LegacyBitmap is false then there is no ImageEnView.Bitmap so there is no ImageEnView.Bitmap.Modified property. In this case just create your own global boolean variable AModified: boolean, and use that to track if the image has been modified.
William Miller
Adirondack Software & Graphics
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html