Browse Prior Art Database

Floating Dialog Window for Presentation Manager

IP.com Disclosure Number: IPCOM000121964D
Original Publication Date: 1991-Oct-01
Included in the Prior Art Database: 2005-Apr-04
Document File: 2 page(s) / 48K

Publishing Venue

IBM

Related People

Jefferson, KJ: AUTHOR [+2]

Abstract

This article discusses a technique to display window information using the mouse pointer. Window information can be obtained via mouse pointer position and displayed in an information window. If the information window is positioned opposite the mouse pointer, all visible windows in the system can be accessed.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 73% of the total text.

Floating Dialog Window for Presentation Manager

      This article discusses a technique to display window
information using the mouse pointer.  Window information can be
obtained via mouse pointer position and displayed in an information
window.  If the information window is positioned opposite the mouse
pointer, all visible windows in the system can be accessed.

      As a programmer, it is often necessary to obtain information
about visible windows in Presenation Manager* (PM).  This information
can be obtained by using a number of "QUERY" APIs provided by the
system and displayed in a dialog panel.  By making the position of
the dialog panel dependent on the position of the mouse pointer, the
dialog panel can be moved so that every window visible on the screen
becomes accessible.

      In order to position the "floating dialog window" in PM to make
all windows accessible via the mouse pointer the following things
must happen:
1. The displaying application must capture (WinCapture) and process
all messages in the system.
2. Case out the WM_MOUSEMOVE message for floating window/mouse
pointer processing.
3. Determine the global position of the mouse and determine if is
within a certain buffer distance of the display window.  The display
window must be repositioned to the opposite side of the screen if the
mouse pointer has entered into this buffer.
Sample PSEUDO-CODE for moving the floating dialog panel: (Processing
with the captured WM_MOUSEMOVE message...