Browse Prior Art Database

Sizeable Dialog Frame Manager

IP.com Disclosure Number: IPCOM000104899D
Original Publication Date: 1993-Jun-01
Included in the Prior Art Database: 2005-Mar-19
Document File: 4 page(s) / 79K

Publishing Venue

IBM

Related People

Broussard, S: AUTHOR

Abstract

Disclosed is a dialog frame manager for creating a sizeable window and child-control windows, as defined by the application. A "sizeable window" is a window which can be resized with the use of a "size border." The initial size of the window is also defined by the application, usually as a part of the Dialog Template resource.

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

Sizeable Dialog Frame Manager

      Disclosed is a dialog frame manager for creating a sizeable
window and child-control windows, as defined by the application.  A
"sizeable window" is a window which can be resized with the use of a
"size border."  The initial size of the window is also defined by the
application, usually as a part of the Dialog Template resource.

     When a window is increased in size, the contents of the window
maintain the same position relative to each other, but the group of
control windows is centered within the larger frame window.

     When a window is decreased in size, the sizeable dialog frame
manager creates scroll bars where necessary to allow the user to
scroll the contents of the window.  Even child control windows are
now scrollable within the smaller frame window.

     The appearance of the sizeable dialog frame is like any other
dialog frame except that it has sizeable borders.

The window relationships are established according to the following
hierarchy:

     Frame Window (an application window usually containing a title
bar).
          Title Bar.
          Size border (a special border around the outer boundary of
a
          frame window that allows the size of the frame to be
changed
          through the mouse).
          Menu Bar.
          Scroll Bars (frame controls that allow the contents of a
frame
          to be viewed by moving the interior area of the window
          relative to the frame).
          Client Window (the interior area of a frame window, where
          application specific objects are located).
               Dialog Frame Window (a non-sizeable frame window that
               typically contains control windows like list boxes and
               push buttons).
                    Controls on the Dialog.

     The client window of the outer frame manages the scroll bars and
the positioning of the dialog window.

      Below are API prototypes for the functions used to implement
this functionality:

/* Create a Modal Secondary Window (Like WinDlb Fox) */

USHORT EXPENTRY WinSecondaryWindow (HWND     hwndParent,
                                    HWND     hwndOwner,
                                    PFNWP    pfnDlgProc,
                                    HMODULE  hmod,
                                    USHORT   idDlg,
                                    PVOID    pCreateParams);

/* Load a Mode-less Secondary Window (Like WinLoadDig) */

HWND   EXPENTRY WinSecondaryWindow (HWND     hwndParent,
                                    HWND     hwndOwner,
          ...