beautypg.com

Window management, 1 determining focus, 8 window management – Measurement Computing WavePort 312P rev.1.0 User Manual

Page 25

background image

PowerVista/312 User’s Manual

Software Framework 3-9

Table 5. Shot Four Letter Pneumonics for Database View.

Shot Type

Shot Type Pneumonic

Phasor Diagram

Phas

Detailed Harmonics

Harm

Spectrum Analyzer

Spec

Cycle-by-Cycle

Cycl

Event Capture

Evnt - Not Snapped

Demand Logging

Demd - Not Snapped

Demand Harmonics
Logging

Demd - Not Snapped

3.8 Window

Management

EasyPower Measure is a multiple document interface (MDI) application. This means that movement and
resizing of any windows follows standard Windows graphical user interface conventions. EasyPower Measure
has been developed under the Microsoft C++ SDK and uses C++ object oriented coding for all window
management.

3.8.1 Determining Focus

As with any MDI application, Focus determines what window is selected so that the application can respond
appropriately to a users commands. The title bar for each Result Window will highlight in the system focus
color (which can be configured via Display under the Win 95 Control Panel) when any part of the window is
selected.

Also, the Database View can achieve focus by clicking within its top column label area. Database View focus
will not activate a highlighted title bar (there is no title bar to conserve space), but will display the

focusing

binoculars within its top column label area.

Once a window has focus, commands like

Copy Graphics or Text

will perform their action on the window that has focus.

Clicking on the title and border of any window will give that window focus. But in addition to giving focus, the
same mouse actions can be used to:

Move the window: The title bar of each window can be grabbed (left mouse click and hold) while

repositioning it to another location within its parent window.

Resize the window: Moving the mouse over the borders of any window will change the mouse cursor

to a symbol for resizing the window from top, bottom, sides, or corners. With the mouse cursor in its
modified state, left mouse click and hold to resize the window within the parent window.

The Parent-Child relationship of windows within EasyPower Measure is as follows:

Parent

Child

Win95

EasyPower Measure Application Window

Application Window

Acquisition Windows

Acquisition Window

Result Windows, Database View