Page 1 of 1

Order of events in ThumbNail Viewers

Posted: Wed Oct 22, 2008 8:22 pm
by dcp
There are a number of standard Windows events which are available in the ThumbnailViewer.
e.g. MouseDown, Click, DoubleClick, MouseClick, MouseDoubleClick etc.

However, when a thumbnail is clicked, VintasoftImaging library automatically updates the displayed image in an ImageViewer. This is separate from any code in these events.

When does the built-in VintasoftImaging functionality function in the order of these events?
i.e. which events come before Vintasoft Imaging updates the imageViewer, and which ones occur afterwards?

Re: Order of events in ThumbNail Viewers

Posted: Thu Oct 23, 2008 8:43 am
by Alex
Hello,

Here is a list of main events:
1. ImageCollection.CollectionChanging event occurs while the ImageCollection is changing because of image(s) being added or removed, images being swapped.
2. ImageCollection.CollectionChanged event occurs after the ImageCollection is changed because of image(s) being added or removed, images being swapped.
3. ImageViewerBase.FocusedIndexChanged event occurs when the ImageViewerBase.FocusedIndex is changed.

Please read about events in documentation.

Best regards, Alexander