Focus, navigation and selection

This page describes how GoBug organises focus and activation in its windows and panes, and how you may use the keyboard instead of the mouse to perform GoBug's functions. Navigation changes the focus. Selection means choosing a menu item or changing the state of a control.
GoBug focus and activation
System keyboard interface in GoBug's main window
Navigation around the panes in GoBug's main window
Navigation and selection in the menu
Navigation and selection in dialogs
Navigation and selection in property sheets
Keyboard navigation and scrolling in various windows
Using the mousewheel

GoBug focus and activation
You can see which of GoBug's windows has the keyboard focus at any one time from the title bar in the usual way. However, since you may have several of GoBug's windows open at any one time there are some special things you can do. You can change which of GoBug's windows has the focus using CrtlTab or ShftCrtlTab to move forward or backwards around GoBug's windows. This will enable you to move from GoBug's main window and the MMX or floating point register panes, inspectors and modeless dialogs using the keyboard.
AltF6 switches the focus between the last two windows which had the focus.
Also if you press any of the shortcut keys you can quickly restore the focus to GoBug's main window and carry out the action represented by the shortcut key at the same time even if a secondary window has the focus at the time. You can also use F10 from a secondary window quickly to restore focus to the main window.

System keyboard interface in GoBug's windows
F1 - help
Press and release Alt (or F10) - activate the menu if there is one (F10 from a secondary window gives focus to GoBug's main window)
Alt+Spacebar - display system menu for the window (for minimise, move, size, close, restore)
AltF4 - Close the window or close GoBug if focus is on main window
AltF6 - switch between last two active windows
Alt+tab - change to different application or active window
Alt+esc - switch between applications

Navigation around the panes in GoBug's main window
Which pane in the main window has the key focus is shown by the focus rectangle in the pane (a rectangle with dotted lines). In the codepane and register pane, moving the mouse cursor around will cause a light grey highlight to appear instead of the key focus rectangle. When a pane has the key focus it can be scrolled using the following keys:-
Up and Dn arrow - move focus rectangle one line and scroll by one at extremes.
CrtlUp arrow and CrtlDn arrow - go to extremity of the page.
CrtlHome and CrtlEnd - go to top or bottom of scroll range.
PgUp and PgDn - scroll by a page.
CrtlPgUp and CrtlPgDn - scroll by 1/64 of the scroll range.
ShftCrtlPgUp and ShftCrtlPgDn - scroll by 1/16 of the scroll range.
In the codepane, the Right and Left arrows may expand the pane if material is not visible.
In the register pane, the arrow keys may be used to navigate around the registers and the flags. Press enter to change a register or flag.
In the logpane the arrow keys will show and remove the sub-logpanes. See using the keyboard in the log

Navigation and selection in the menu
Using the arrow keys:-
To open a menu in a window which has the focus, press and release the Alt key to activate the menu bar then get to the correct menu using the left and right arrow keys, then open it using the down key. Navigate around the menu using the up down right and left arrow keys. Use Enter to select a menu item and Esc to dismiss a menu. You can also use the F10 key instead of the Alt key to activate the menu bar.
Using Alt+alphanumeric key:-
Press the Alt key then the alphanumeric key that corresponds to the underlined character for the menu you want. Before releasing the Alt key navigate through the menu and select the menu item in the same way.
Using the menu shortcuts:-
This is an even quicker way to perform the action you want without using the mouse. Use one of the following shortcuts:-
F1 - Help
F5 - Single/step (trace into)
CrtlF5 - Single-step animate
F6 - Single/step (jump over)
F7 - Run/trap/hook/full log
F8 - Run/hook/part log
F9 - Run in background
CrtlA - Runto .. any message
CrtlC - Runto .. code address
CrtlM - Runto .. message
CrtlN - Runto .. new thread
CrtlP - Runto .. procedure
CrtlR - Runto .. next ret
CrtlT- Thread (traffic light) control

Navigation and selection in dialogs
The usual Windows rules apply as follows:-

  • Use Alt-F4 to remove the dialog and Enter to "push" the default pushbutton if there is one (button heavily outlined).
  • Use TAB and shift-TAB to move the focus from one control to the next. A dashed rectangle around the control or its text will show which control has the focus.
  • Use the arrow keys to move the focus within the group of controls.
  • For buttons, press Enter or Space Bar to "push" the button that has the focus.
  • For command buttons, such as the "extract" button in the inspect resource dialog, press Enter or Space Bar to see the popup menu. Navigate within the menu using the arrow keys use Enter to select or Esc to cancel.
  • For radiobuttons, use the arrow keys within the radiobutton group to select a different button.
  • For checkboxes, while it has the focus use the Space Bar to toggle the state.
  • For combo boxes, while it has the focus press the down arrow to open the box, move around the contents of the box using the arrow keys then press Enter when the correct item has been found. Press Esc to close the box without any further action.
  • For listboxes, use the arrow keys to move up and down the list and press Enter when the correct item has been found. You can also use the Home, PgUp, PgDn and End keys to move up and down the list.
  • For listviews, run up and down the list using the up and down arrow keys; expand and contract the list using the right and left keys.
  • For updown controls (spin boxes) use the up or down arrow when the control has the focus.
  • Navigation and selection in property sheets
    The usual Windows rules apply as follows:-

  • To navigate between the property sheets use CrtlEsc or ShftCrtlEsc.
  • Alternatively when a property sheet tab has the focus, use the left and right arrow keys.
  • Use the Tab key or ShftTab keys to navigate within a property sheet controls and out into the "OK" and "Cancel" keys and the tab.
  • Navigate and select the controls in the usual way as for dialogs. See navigation and selection in dialogs.

    Keyboard navigation and scrolling in various windows
    Using the keyboard in the log
    Scrolling the inspectors
    Scrolling the information dialog
    Using the keyboard in symbol inspectors
    Using the keyboard in the hot-key dialog
    Using the keyboard in the resource dialog

    Using the mousewheeel
    GoBug supports the Intellimouse software for Windows 95 systems and also supports mousewheel operation on later versions of Windows. If the mousewheel is configured to send a certain number of scroll lines per wheel movement, then the window which contains the cursor will scroll when using the mousewheel. If the mousewheel is configured for one page scroll per mousewheel movement, then Windows sends a page up or page down key command. For this reason, when using this setting, it is the window with the focus which will scroll instead of the window containing the cursor.