Frames, Reference

The main window of Probe is divided into nonoverlapping 'frames'. Each frame has a Probe component in it, such as a Folder Browser, a Location Bar etc. The frames are separated from each other by edges. You use the mouse and the keyboard in a frame just as you would with any other window type.

 

Resizing a Frame

When you want to change the size of a frame, move the mouse cursor over the frame, towards an edge, so that it turns into double arrow symbol as in fig 1. Press the left mouse button and drag the edge. Then release the left mouse button.

Fig 1: Taking hold of the edge

wpe4.gif (6228 bytes)

 

Fig 2: The edge has been dragged and released

wpe9.gif (6062 bytes)

When taking hold of an edge at the intersection of two edges, both a horizontal and vertical edge is dragged. All frames attached to the two edges are resized.

 

Resizing the Main Window

When you resize the main application window, all frames within it are scaled in proportion to the main window. Some frame types responds by scaling their contents when resized. Other components respond by updating their scrollbar status accordingly.

The Probe main window has a minimum size of 400x300 pixels.

Fig 3: Resizing the Probe main window

wpeA.gif (2163 bytes)

 

The Frames Pull-down Menu

All commands for creating and closing frames etc, are available in the 'Frames' pull-down menu. There are also commands for loading/saving the frame layout state to a file in this menu.

Fig 4: The Frames pull-down menu

wpeD.gif (7453 bytes)

 

Frame Commands in Popup Menus

Every frame has a popup menu which appear when clicking with the right mouse button in the frame. At the bottom of this menu, below the last separator, some commands for frames are available.

Fig 5: Every frame has a popup menu

wpe13.gif (7996 bytes)

 

At least some of the commands 'Maximize', 'Normalize', 'Optimize', 'Untangle edges', 'Close' are available in all frame popup menus. These commands are common for all different frame types.

Above the separator in fig 4 (from 'Colors' and up), are commands which are specific for the specific frame type, in this case the Log Window.

As can be seen in fig 4, the frame commands are also in the 'Frames' pull-down menu.

NOTE: In a Folder Browser, or in a Tree Browser, you must click the right mouse button in a area which has background color for this menu to appear. Otherwise a popup menu specific to the file/folder being clicked appears.

 

Maximizing a Frame

If you temporarily want to focus on a specific frame, you can maximize it, so it occupies the full application window. You do this by selecting 'Maximize' in the frame popup or pull-down menu.

NOTE: Not all frame types can be maximized.

Fig 6: Before maximizing the frame

wpe12.gif (11659 bytes)

 

Fig 7: After maximizing the frame

wpe11.gif (8331 bytes)

You return to the normal frame layout by invoking the item 'Normalize'

 

Splitting a Shared Edge

Frames can be created and destroyed. When creating a new frame, there must first be some free area to put it in. This is done by splitting edges and the dragging edges.

If two frames are next to each other they share an edge. Such edges can be split by double-clicking them, with either left or right mouse button.

Fig 8: Putting the mouse over a shared edge

wpe14.gif (4313 bytes)

 

Fig 9: Splitting the edge by double-clicking

wpe15.gif (4337 bytes)

 

Untangling the Edges of a Frame

Frames next to each other typically share edges. A frame can also share it's edges with main window border, or with the status bar or the menu bar.

When making room for new frames you must drag edges so that free space is created. This is best done when the dragged edge is used by only one frame.

Through selecting the 'Untangle Edges' alternative in the frames popup menu, all four edges of a frame are separated from it's neighbor frames, or 'Untangled'.

Fig 10: About to untangle edges of the Disk Monitor

wpe16.gif (3961 bytes)

 

Fig 11: After untangling the edges

wpe17.gif (3371 bytes)

 

Making Space for a New Frame

After untangling edges or splitting shared edges, they can easily be dragged to provide free window area for a new frame.

Fig 12: Preparing free space by dragging edges

wpe19.gif (6041 bytes)

 

Creating a New Frame

After providing free window area we're ready to create a new frame. We do this by clicking the right mouse button in the free area where we want to position the new frame. A popup menu appears and we choose the type of the new frame.

NOTE: Some frame types, such as Command Prompt, Function Bar etc, can only exist in a single instance.

NOTE: Some frame types cannot be created if the free area is too small.

Fig 13: Selecting a new frame typee

wpe1C.gif (7732 bytes)

 

Fig 14: New frame was successfully created

wpe1B.gif (7529 bytes)

 

Frames can also be created through the pull-down menu 'Frames', submenu 'New Frame', then selecting the frame type. In this case the new frame is created where the largest free window area is found.

 

Merging Edges of Frames

If you want the edges of two close frames to join into a shared edge, you just drag one of the edges, so that it clearly overlaps with the other edge. When releasing the mouse button the two edges will merge into a single edge.

Edges are merged with window borders, the status bar, the menu bar in the same way.

Fig 15: Merging two edges by dragging

wpe1E.gif (3160 bytes)

 

Fig 16: After merging three edges

wpe1F.gif (3131 bytes)

 

Optimizing the Area of a Frame

The merging of edges performed in the previous paragraph can also be done through the 'Optimize' command found on the frame popup menu. This command enlarges the frame as much as possible, by merging edges, and occupying free window area surrounding it.

Fig 17: Before selecting the 'Optimize' command

wpe20.gif (3689 bytes)

 

Dragging (Moving) Frames

Individual frames can be dragged within the Probe main window. As the frame is dragged, Probe will suggest distinct locations in the main window, where the can be moved to.

To drag a frame:

NOTE: For frames that have a caption (a frame title), the caption bar serve as a drag handle.

NOTE: Any frame can be moved by pressing the ALT button and dragging the frame using the right mouse button.

Fig 18: About to drag a frame (lower left part of figure)

Frames4.gif (14579 bytes)

 

Fig 19: The mouse cursor has been changed to the frame drag symbol

Frames5.gif (13257 bytes)

 

Fig 20: Releasing the mouse button ends frame dragging

Frames6.gif (13082 bytes)

 

Closing a Frame

Closing a frame can be done either by selecting 'Close' in the frame popup menu, or by clicking the same alternative in the 'Frames' pull-down menu.

Fig 21: About to close a frame:

wpe21.gif (9614 bytes)

 

Handling Frame Layouts

Up to now, only ways of manipulating individual frames have been discussed. From now on we'll deal with commands handling the layout of all frames in the Probe main window. These commands are available in the frames pull-down menu (see fig 21) or in the extra caption menu (see fig 22). These commands are:

Fig 21: Commands for manipulating main window layouts (clickable)

FramesIO1.gif (3805 bytes)

 

The Extra Caption Menu

The extra caption menu wpe3.gif (880 bytes) is located (fig 22) to the left of the three buttons for minimizing wpe4.gif (877 bytes), maximizing wpe5.gif (883 bytes) and closing wpe7.gif (882 bytes) windows. It provides quick access to frame commands that affect the state of the entire main window. It's main purpose is to allow for quickly swapping to another main window layout.

This menu can be used for example to quickly switch the layout of Probe into Norton Commander emulation mode, or to MS Explorer emulation mode, ...etc. Also, personal main window layouts can be created and added to this menu.

Fig 22: The extra caption menu (clickable)

Frames46.gif (4940 bytes)

 

Save/Load Layouts

These two commands deal with saving/loading the layout of the main window to Probe layout files (*.str).

Load Layout From File

This command allows for loading a Probe main window layout that was previously saved to disk. With this command, the looks of the layout cannot be previewed before loading it. The Browse/Select Frame Layout functionality provides a more interactive method of managing different main window layouts.

Save Current Layout To File

By invoking this command, the current main window layout is saved to a file. The state of all frames of the main window is stored. This layout file can be loaded at a later time, or on some other computer. The filename should have the suffix .str. Again, the Browse/Select Frame Layout provides a more intuitive way of handling layouts.

 

Save Layout On Exit

If this option is checked, the layout is saved each time Probe is closed. If you don't want to save any updates to the layout at program termination, clear this setting.

 

Hide Menus

This setting (nr two from the top of the menu in fig 23) enables hiding the main window menu. This is useful for conserving screen area.

When the window menus have been hidden, the 'Hide Menus' item is replaced by the 'Show Menus' item. After hiding the main window menus, you can still access them through the sub menu 'Window Menus', see fig 23.

Fig 23: After hiding the main window menus

Frames48.gif (10516 bytes)

 

Main Window Always On Top

This is a setting to turn Probe into a 'topmost' window. With this setting, all ordinary windows will appear behind Probe, even when they are activated and have input focus.

The 'Topmost Window' setting is toggled from this menu.

 

Browse/Select Frame Layout

Through the functionality discussed in this section, one can visually browse several pre-fabricated main window layouts. Without loading the layout, a preview image of the layout is available, a component listing for the layout, a comment for the layout and also a recommended screen resolution (in pixels) for using the layout.

The available main window layouts are browsed using the dialog of fig 25. The purpose of this dialog is to maintain a list of available main window layouts, allow the layouts to be previewed, and to add and remove layout items from this list.

The items in the layout list in fig 25 (in the combo box) are also available for quick layout selection in the extra caption menu (fig 24).

Fig 24: The same list of layout items in two places:

Frames47.gif (9193 bytes)

 

The dialog for browsing, selecting and manipulating layouts (fig 25) is either invoked from the extra caption menu (topmost item fig 24, fig 23) or from the Frames pull-down menu (see fig 21). Selecting a layout using this dialog is a three step process:

  1. Open the combo-box 'Available Layouts', and select an item.
  2. A preview of this layout, together with some other details on the layout is now presented.
  3. Press the 'OK' button to load the selected layout in the Probe main window.

Fig 25: The Main Window Layout Manager dialog (clickable)

Frames410.gif (44334 bytes)

 

Current Layout

This is the name of the layout that is currently used in the Probe main window.

Available Layouts

This combo-box contains a listing of all layout items that are available. When selecting a layout item in the combo-box, the preview image, the component list, ...etc, are updated to show details about the selected item.

To use a layout selected in the combo-box in the main window, press 'OK' after selecting it.

Recommended Minimum Resolution

When having to many Probe components in a small main window, the result is cluttered. To provide a hint to a layout user, a recommended minimum screen resolution is included with each layout item.

Components

This is a list of the frame types (Probe components) that make up the main window layout being previewed.

Layout Comment

This is a comment on the layout being previewed.

Add/Remove Layouts to Available List

It is possible to add and remove items from the list of available main window layouts. One way to add new layouts is to modify the appearance of the main window, and than make a snapshot of it.

Remove Layout

Pressing this button will remove the layout currently being previewed from the list of layout items.

Add Layout

This opens the New Layout dialog, that enables creating and adding new layout items to the layout list.

Reset to Default

Press this button to reset the layout list to its original state. After doing so, the layout list only contains the layouts that were available after program installation.

Layout Preview Image

This is an image providing a down scaled preview image, representing what the layout looks like, when activated.

Layout File

This is the path of the file (*.str) containing the layout description.

OK

Press 'OK' to actually load the layout selected and previewed as described above. When doing so, all current frames are closed, the main window is repositioned, and new frames for the selected layout are created.

NOTE: Layouts cannot be loaded while file operations are in progress.

Cancel

Press 'Cancel' to exit this dialog, without changing main window layout.

 

New Layout Dialog

This dialog is invoked from the Main Window Layout Manager dialog. It is used to add layout items to the list of available main window layouts. A layout item can be added in one of two ways:

or

Fig 26: The New Layout dialog (clickable)

Frames411.gif (10751 bytes)

Layout Name

This is the name used when presenting this layout in the list of available main window layouts.

Main Window Layout File

Each layout item is associated with a layout description file (*.str). This file can come from two places when creating new layout items:

  1. It can be generated by saving the currently active main window layout to disk. This is the 'snapshot' method.
  2. The layout description file already exists on disk, and can be browsed for. See Save/Load Layouts for how to generate *.str files.

Use the currently active Main Window layout

With this option set, Probe makes uses the currently active main window layout as layout description file. See Snapshot method (1) above.

Browse for layout file (*.str)

With this option set, the user must browse for and locate a previously saved *.str file to be used as layout description.

Layout Preview Image File

When browsing the available main window layouts, preview image files (*.bmp) of them are presented. This preview image can be:

  1. A snapshot of the current main window, produced automatically by Probe (main window capture).
  2. A bitmap file (*.bmp) located manually by the user.

Snapshot of current Main Window layout

With this option set, Probe uses a snapshot image of the current state of the main window.

Browse for layout preview image (*.bmp)

With this option set, the user must browse for and select a BMP image to be used as preview image.

Layout Comment

This is a comment providing a hint to a user of the layout about its properties.

Recommended Resolution

When having to many Probe components in a small main window, the result is cluttered. To provide a hint to a layout user, a recommended minimum screen resolution is included with each layout item.

OK

Press 'OK' to actually create a new layout item, and add it to the list of available main window layouts.

Cancel

Press 'Cancel' to exit this dialog without creating a new layout item.

 

Quick Layout Selection

It is possible to change main window layout, without using the Main Window Layout Manager. In the extra caption menu, all layout items that are available in the layout manager, are also available. The currently active main window layout is checked.

Changing main window layout in this way is accomplished through:

  1. Open the extra caption menu by clicking wpe3.gif (880 bytes).
  2. Below the separator, click the name for the layout which you want to open, for example Centered Tree + Tools.

Fig 27: Quick layout selection using the extra caption menu (left).

Frames47.gif (9193 bytes)

 

Next:    Frames, Hints

Back:    Frames