Description

This class exposes a subset of the McView methods, properties and events as well as others, specific to image views.

Object Model




Remarks

All McWindow objects are maintained in the McWindows collection, exposed as McApplication.Windows. McWindow events are available both in the Windows collection and on individual McWindow's. The embedded McView control is exposed as McWindow.View.

Members

Methods
Activatemethod Activate
Closemethod Close
Maximizemethod Maximize
Minimizemethod Minimize
Restoremethod Restore
SendMail

Sends this document as an email attachment using the default email application.

UpdateDisplayPalette

Update the system palette for optimal image display


Properties
CaptionRead-only property

The title bar caption.

NameRead-only property

An identifying name for this McWindow instance

PositionRead-write property

Sets or reveals the position of the McWindow's displayed window.

ResizeWithZoomRead-write property

Determines if the window is resized when the View is zoomed.

ViewRead-only property

The IMcView that is enclosed within the window.

WindowNumberRead-only property

The current window number or 0 if only one window is open on an image.

WorkspaceBarRead-write property

Gets or sets the toolbar displayed below the image.

WorkspaceMenuRead-write property

Gets or sets the context menu used in this window.


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.