Description

The image window collection, which contains all visible images.

Object Model

Remarks

An McWindow is maintained in this collection for each image view. This collection is exposed in the application as McApplication.Windows. Its events are available directly in the VBA module named “Windows”.

Members

Methods
Add

Creates a new McWindow for a given image and add it to the collection.

ArrangeIcons

Put all iconified image windows together at the bottom left of the workspace.

Cascade

Cascades all the image windows.

CloseAll

Closes all image windows.

InvalidateAll

Forces redisplay of the ActiveWindow or of all windows.

SetNotifyMeFirstmethod SetNotifyMeFirst
Tile

Arranges windows in the collection so that they are tiled vertically (the default) or horizonatally.


Properties
CountRead-only property

A read only property indicating how many image windows are currently open.

ItemRead-only property

Exposes an McWindow from the McWindows collection.


Events
Activate

The OnSetFocus event. The viewer is gaining keyboard input focus.

AfterPaint

Fired during the viewer's OnDraw processing.

BeforeClose

This event is fired just before an image window is closed.

BeforePaint

Fired during the viewer's OnDraw processing.

Close

An image window is closing.

DblClick

The user has double clicked within the viewer client window.

Deactivate

The OnKillFocus event. The viewer is losing keyboard input focus.

KeyDown

The user has pressed a keyboard key.

KeyUp

The user has pressed and released a keyboard key.

MouseDown

The user has clicked, but not yet released, a mouse button within the viewer client window.

MouseMove

The user is moving the mouse over the viewer client window

MouseUp

The user has released a mouse button within the viewer client window.

Move

The viewer client window is being moved.

New

A new image window is being created.

PropertyChanged

A Viewer property has changed.

Resize

The viewer client window is being resized.