User interface for multiple child windows

Abstract: A method of and system for generating a user-display interface which displays and manages multiple child windows anywhere on a display screen. An application is executed to create a server and to create a context manager. The application also creates and initializes a frame window, the frame window including at least an application menu and being commanded by the server so that a header block of the frame window may be selectively displayed by the operating system as a visible window on a display screen. The frame window is executed to create zero or more child nodes in response to requests to open child nodes from the application, each of the child nodes having a context type associated therewith and zero or more of the child nodes being context sensitive, the context type being monitored by the context manager, each of the child nodes being commanded by the frame to be selectively displayed by the operating system as a visible window on the display screen. Items of the application menu may be altered as a function of the context type currently being monitored by the context manager.

Description: This application is being filed with an appendix entitled, "Pseudo MDI Architecture and Programmer's Guide, Version 1", which forms part of the disclosure hereof. The present invention concerns a method of and system for generating a user-display interface in a windows operating system. More particularly, the invention concerns a method of and system for generating a user-display interface which displays and closes child windows at positions on a display screen that are independent of the positions of the parent window. Microsoft Windows (hereafter "Windows") is software package commercially available from Microsoft Corporation, which acts as an interface between DOS and the computer user. The use of Windows is described, for example, in Person, et al., Windows 3.1 QuickStart , 1992. The window structure and user interface provided by Windows is controlled by a Microsoft specification, Multiple Document Interface (hereafter "MDI"), which is described, for example, in Petzold, Programming Windows 3.1 , Chapter 18. The MDI protocol dictates where and when various windows may be displayed on a computer display screen. Generally speaking, windows are of two varieties: a parent window and a child window. Typically, a parent window is opened when a user initiates execution of an application program. As execution of the application program continues, the parent window opens various child windows which allow the user to access various functionality in the application program. For example, a parent window may be opened when a user initiates execution of a word processing program. The parent window will, in turn, open a child window corresponding to each document that the user is editing or creating. The MDI protocol dictates where on the display screen a child window can appear with respect to the position of the parent window, and dictates the change in appearance of the parent and child windows in response to various windows activities such as closing or iconizing. The MDI protocol, however, suffers from a disadvantage in that child windows are always constrained to lie within a frame defined by the parent window. As more and more child windows are opened, this constraint results in needless clutter on the display screen, making it difficult for a user to find a desired child window and to navigate through all of the windows. Figures 1A and 1B illustrate this situation with respect to an application program (hereinafter "Message Manager application program") which allows a user to send and receive multimedia messages, to manage an address book of addresses for multimedia messages, to create and edit and retrieve multimedia messages, and to dial out automatically for sending messages. Operation of a suitable Message Manager is described in detail in United States Patent Application Serial No. 07/808,757, filed December 17, 1991, issued on September 1, 1998 as US Patent 5802314. Figures 1A and 1B illustrate how the MDI protocol affects the appearance of various windows that are displayed on screen 61 of a computer display terminal 62. As shown in these figures, parent window 50 is opened when the user initiates execution of the Message Manager application program. Window 50 is provided with a header block 51, which includes a document control icon 52, a menu bar 54 and a minimize button 56. Selecting "minimize" button 56, or selecting "minimize" from a pull-down menu, reduces window 50 to an icon, that is a small graphical representation of window 50 which is displayed on screen 61. This process may be referred to as "iconizing". As will be understood by those of ordinary skill, document control icon 52 may be used to change the size or position of window 50 within display screen 61, for example, by selecting from the "move", "size", "minimize" and "maximize" menu items that are available from the pull-down menu that is displayed after document control icon 52 is selected. In addition, "Minimize" button 56 may be selected so as to minimize the screen quickly without the need for selecting from a pull-down menu. Menu bar 54 extends horizontally across a top portion of window 50 and displays menu items available to the user, such as "file", "edit", "create", "help" and the like. Each of the menu items displayed on menu bar 54 in turn may include secondary menu items selectable from a pull-down menu. As will be understood to those skilled in the art, pull-down menus extend vertically downward from a menu item on menu bar 54 and may include various additional menu items which further specify the commands available for selection by the user. Using a keyboard, a mouse, or the like, a user may select various items from menu bar 54 so as to initiate execution of a desired command by the computer. For example, a user may select a menu item or other object by pressing the "enter" key on a keyboard or by "clicking" a mouse on a desired item. A window frame 63 is associated with window 50. Window frame 63, whose size may be manipulated and adjusted by the user, sets the maximum extent of operations that are controlled by parent window 50 and the Message Manager application program. That is, anything on screen 61 outside of frame 63 is not associated with the Message Manager application program while anything within frame 63 is. Each window 50 may itself display zero or more document icons 57 or zero or more child windows 58. Child windows may hereinafter be referred to as "document windows" even though, as illustrated in Figure 1A, the child window 58 might not necessarily contain a document (in Figure 1A window 58 is a "dialer"). Document icons 57 are small representations that, when selected by the user, become document windows 58. Like window 50, document windows 58 may also be provided with a document control icon and a minimize button, but typically document windows 58 are not provided with menu bars. The menu items displayed on menu bar 54 apply to document windows 58. Document windows 58 contain the data or document on which the application programs represented by parent window 50 work. The sizes and positions of document windows 58 displayed in parent window 50 may be varied by the user, for example, by "dragging" the document window across the screen. The MDI protocol, however, constrains display of child windows 58 such that no part of window 58 may be moved beyond frame 63. Thus, as shown in Figure 1A, although an attempt has been made to move child window 58 beyond the lower left boundary of frame 63, the MDI protocol does not permit display of any portion of document window 58 that would have extended beyond frame 63. This constraint can result in unnecessarily cluttered displays. For example, as shown in Figure 1B, a user has opened a second document window 58. However, because of the constraint that no portion of a document window can extend beyond frame 63, one document window partially overlaps and obscures the other document window. Thus, there is a need for a user interface for multiple child (or document) windows which does not constrain the position of the child windows to lie within a frame defined by the parent window. One commonly accepted reason for the constraint imposed by the MDI protocol is to simplify how MDI controls the reaction of parent and child windows to various user commands to open, close and manipulate the windows. For example, when a user no longer desires to continue execution of the application program corresponding to window 50, the user may "close" that application by selecting a "close" menu item from document control icon 52. The MDI protocol governs the closing of windows, and will ensure that all open documents (or child) windows within parent window 50 are also properly closed down when parent window 50 is closed down. Thus, there is a need to ensure that child windows positioned outside a parent window frame react properly to commands which effect the parent window or other windows. The present invention addresses the foregoing deficiencies by providing a method of and system for generating a user-display interface which may display child windows at positions on a display screen that are independent of the position and size of the parent window. Embodiments of the invention further provide a method of and system for generating a user-display interface which displays child windows at positions on a display screen that are independent of the position and size of the parent window while at the same time ensuring that closing or iconizing a parent window will close child windows positioned outside thereof. Further embodiments of the present invention provide a method of and system for generating a user-display interface which displays windows on a display screen wherein the contents of a menu displayed on the screen may be altered in accordance with the context type of the child windows being displayed. One aspect of the invention provides a method of generating a user display interface for an application in a windowing operating system, said method comprising: in response to execution of said application: creating a server for dispatching user commands to the operating system; creating and initialising a frame window, said frame window including an application menu; and causing said server to command said frame window to be selectively displayed as a visible header block on a display screen; and in response to execution of said frame window: requesting creation of a child node from said menu; creating a child node corresponding to said request; and causing said frame window to command said child node to be selectively displayed by said operating system as a visible child window on said display screen at a position independent of that of said frame window. Another aspect of the invention provides a system for generating a user display interface for an application in a windowing operating system, comprising: means, responsive to execution of said application, for creating a server for dispatching user commands to said operating system; means, responsive to execution of said application, for creating and initialising a frame window, said frame window including an application menu; means, responsive to execution of said application, for causing said server to command said frame window to be selectively displayed as a visible header block on a display screen; means, responsive to execution of said frame window, for requesting creation of a child node from said menu; means, responsive to execution of said frame window, for creating a child node corresponding to said request; and means, responsive to execution of said frame window, for causing said frame window to command said child node to be selectively displayed by said operating system as a visible child window on said display screen at a position independent of that of said frame window. These and other features and advantages according to the present invention will be more readily understood by reference to the following detailed description of the preferred embodiment thereof taken in conjunction with the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS Figures 1A and 1B are depictions of conventional computer display screens representative of displays generated, for example, by Microsoft Windows; Figure 2 is a perspective view of an apparatus according to the present invention; Figure 3 is a block diagram of an apparatus according to the present invention; Figure 4 is a block diagram illustrating an object-oriented implementation of features of the present invention; Figure 5 is a depiction of a computer display screen representative of a display generated by the apparatus illustrated in Figure 2; Figure 6 is a further depiction of a computer display screen representative of a display generated by the apparatus illustrated in Figure 2; and Figures 7A and 7B are still further depictions of computer display screens for illustrating the context management performed by the apparatus illustrated in Figure 2. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT Figure 2 is a view showing the outward appearance of a representative embodiment of the present invention. Shown in Figure 2 is computing equipment 60, such as an IBM-PC or PC-compatible computer having a user interface operating system, such as a Microsoft Windows operating system. Computing equipment 60 is provided with a display unit 62, such as a color monitor, having a display screen area 61, and also with an internal speaker 64. Computing equipment 60 also includes a mass storage device such as computer disk drive 66 for storing data files such as bitmap image files, data files, text files, sound files and the like; and for storing application program files which contain stored program instruction sequences by which computing equipment 60 manipulates data files and presents data in those files to a computer operator via display screen 61 or speaker 64. Computer disk drive 66 further stores various applications, such as the Message Manager application program and other applications according to the present invention, a server, a frame, a context manager, a windows operating system, and the like. Computer disk drive 66 may further store data files, such as a Message Manager data base including multimedia data files, address book files, dialer files, log files, text files, etc., which have specific utility with the Message Manager application program, or with other applications configured according to the present invention. A keyboard 68 is connected to computing equipment 60 to permit input of text data and to permit manipulation of objects displayed on display screen 61. Likewise, a pointing device 70, such as a mouse or the like, is connected to permit manipulation of objects on display screen 61. Microphone 72 permits inputting audio information. A scanner 74 scans documents or other images and provides bitmap images of those documents to computing equipment 60. Other means for supplying bitmap image data and other data may be provided, through, for example, CD-ROMs or a modem (not shown) in computing equipment 60 via a telephone link or a network link. Likewise, a removable floppy disk drive may be provided, or digital or analog video information may be input to computing equipment 60 via an unshown video interface. Computing equipment 60 also includes a printer 75, which operates in a conventional manner. In accordance with operator instructions, and under the control of the operating system, stored application programs, such as the Message Manager application program, are selectively activated to process and manipulate input data. Figure 3 is a detailed block diagram showing the internal construction of computing equipment 60. As shown in Figure 3, computing equipment 60 includes a central processing unit (CPU) 76, such as a programmable microprocessor, interfaced to a computer bus 78. Also interfaced to computer bus 78 is disk 66, keyboard 68 and mouse 70. A scanner interface 80 is provided for interface to scanner 74, an external interface 82, such as a network interface, is provided for interface to external storage media, a telephone interface 83 is provided for interfacing with a telephone (not shown), an audio interface 84 interfaces with microphone 72 and speaker 64, and a printer interface 85 is provided for interfacing with printer 75. Main memory 86 interfaces to computer bus 78 so as to provide random access memory for use by CPU 76. In particular, when executing stored program instruction sequences such as those associated with the Message Manager application program or a word processing program, CPU 76 loads those instruction sequences from disk 66 (or other memory storage medium) into main memory 86 and executes those stored program instruction sequences out of main memory 86. Figure 4 is a block diagram of various objects which are present, for example, on computer disk drive 66. The process steps which result in the objects illustrated in Figure 4 are executed by CPU 76 in accordance with a computer program stored in main memory 86. Figure 4 is intended to reflect an object-oriented implementation of the invention, in which separate and self-reliant software objects are provided for separable tasks. It is to be understood, however, that other implementations, including non-object-oriented implementations are also possible. The objects illustrated in Figure 4 may be executed in conjunction with other software applications, such as, for example, with Microsoft Windows, and may provide an interface between such applications and the user. The object architecture includes at least one application 88, a server 90, a frame 92, zero or more child nodes 94 and a context manager 96. Application 88 is an object that encapsulates necessary initializations and preparations for an application. These include inheriting various core attributes from a standard or generic application, and thereafter enhancing the standard application, as desired by the user. The steps of inheriting and enhancing the functionality of an object may be referred to herein as "adapting" the object. In the context of Message Manager, for example, application 88 may contain a main application message loop (not shown) that is responsible for all dispatching of messages within application 88. The message loop also processes all special messages and dispatches messages to appropriate objects in the system. In other contexts, application 88 encapsulates initializations and preparations tailored for the application in question. For example, for a word processing program, application 88 may set default parameters associated with a document to be edited, keyboard 68, printer 75 or the like. Server 90 is created by application 88 and provides for mapping, dispatching, routing and translation of commands from the user for execution by CPU 76. Server 90 may also inherit attributes and may be enhanced or adapted as desired by the user. Preferably, server 90 is displayed on display screen 61 as a hidden window. Frame 92 is also created by application 88 and is in communication with server 90. Frame 92 is a context-sensitive visible window object containing, for example, an application menu bar (shown in Fig. 6) and tool buttons, if any (also shown in Fig. 6). As used herein, an object that is "context-sensitive" modifies its behavior depending on the current context. For example, the particular menu items displayed on the application menu bar of frame 92 may vary as a function of the content of the data, documents, or the like on which application 88 is working. Frame 92 thus provides a mechanism by which menu bar selections may be displayed to the user and by which to route commands resulting from menu selections to child nodes 94. Unlike application 88 and server 90, which are not ordinarily displayed to the user, frame 92 displays a visible header block to the user. That is, a visible header block is displayed by frame 92 on display screen 61, whereas application 88 and server 90 are hidden objects. Frame 92 may also include an accelerator table (not shown). The accelerator table includes, for example, a list of combinations of keyboard characters which are assigned to a particular function. For example, pressing the "ALT" and "E" keys on keyboard 68 may result in an "edit" instruction, while pressing the "ALT" and "H" keys may result in a "help" instruction. Thus, the "ALT"-"E" and "ALT"-"H" key combinations, as well as other key combinations, may be recognized by the accelerator table as accelerators. Of course, accelerators may also include various other objects without departing from the scope of the present invention as defined in the claims. The use of accelerators, such as the "ALT" key, enables access from the current window to the application menu bar provided on frame 92. Thus, using accelerators permits accelerated keyboard processing by which the user may effectively select items from the application menu bar of frame 92 without exiting or changing focus of the current window. Message management, including the execution of messages encoded as accelerators, is important to the operation of the system and method of the present invention. When messages, including accelerators and other instructions, are received by the user using keyboard 68, mouse 70 or the like, the messages are received by application 88. Application 88 first forwards the messages to server 90. If server 90 recognizes the message as being one that server 90 should execute, then server 90 executes the message. Examples of messages that may be recognized and executed by server 90 include messages to activate a frame menu bar, messages to activate a system menu, messages to close an application, messages to close a child node, messages to go to a next window, messages to go to a previous window, messages to go to a next application in the operating system, messages to activate a task manager to display a window identifying all applications on the operating system, and the like. If server 90 does not recognize the message, then server 90 returns the message to application 88. Application 88 then sends the message to frame 92. If frame 92 recognizes the message, such as would be the case, for example, if the message were a key combination stored in the accelerator table in frame 92, then frame 92 processes the message. Otherwise, frame 92 returns the unprocessed message to application 88, which then forwards the message to child nodes 94. If a child node 94 recognizes the message as being one that the child node 94 should execute, then child node 94 executes the message. If the child node 94 does not recognize the message, then the child node 94 returns the message to application 88, which then sends the message to other applications in the operating system. Child nodes 94 are objects created by frame 92 or other entities within application 88, comprising, for example, data, documents or the like on which application 88 works. For example, child nodes 94 may be child windows, such as document windows 58 or a Borland style window object, child dialogs or a message box. (As will be appreciated by those of ordinary skill in the art, a dialog is essentially a window having a form associated with it.) It should be noted that even though child nodes are created by the user through some means in frame 92 or another application entity, the parent of all child windows is server 90. Core functionality and default properties of child nodes 94 may be inherited upon the creation of child nodes by frame 92 or other entities in application 88. Child nodes 94 may then be enhanced or adapted, as desired by the user. Child nodes 94 may be context sensitive, context aware, or both. These settings may be changed by the user, as desired. Objects that are "context aware" provide context tracer 98 (discussed below) with an identification of their context type. Like frame 92, child nodes 94 are visibly displayed on display screen 61. Also illustrated in Figure 4 is a context manager 96. Context manager 96 is initialized by application 88. After being initialized, context manager 96 initializes a context tracer 98 and a context adviser 100. Context tracer 98 keeps track of the current context of the portion of the display screen on which the user is working. The current context is the last active child node 94 that is context aware. Alternatively, if there are zero child nodes 94, the current context may be a default context. All context aware objects pass their object types to context tracer 98 when they become active. The context type information received by context tracer 98 is passed to context adviser 100. Context adviser 100 advises all context sensitive objects when a change in context type is detected by context tracer 98. The objects in Figure 4 identified by non-primed numerals (e.g., 90, 92, 94, etc.) represent core architecture objects. As mentioned above, however, each of application 88, server 90, frame 92 and child nodes 94 may be enhanced to adapt specific features or attributes desired by the user. Enhanced objects are identified in Figure 4 with a primed numeral (e.g., 90', 92', 94', etc.). For example, server 90 and frame 92 having core functionality may be enhanced or adapted, for example, to a particular application, such as Message Manager, as shown by enhanced server 90' and frame 92'. Enhanced frame 92', for example, may have a customized menu bar. The round and oval objects illustrated in Figure 4 collectively comprise child nodes 94 and the entities necessary to construct child nodes 94. As mentioned above, child nodes 94 may comprise child windows or child dialogs. Child nodes 94 that are context aware pass their respective context types to context tracer 98, as illustrated by the dashed vertical line in Figure 4. Child nodes 94 that are context sensitive are informed of context type changes by context adviser 100, as further illustrated by a dashed line in Figure 4. Child dialogs may be enhanced to adapt to a particular application. For example, child dialogs may be enhanced to become a "Config.", "Dialer", "Address Book" or "Log" dialog, as used in the Message Manager application and as illustrated in Figure 4. Similarly, child windows may be enhanced, for example, to become "Folder" or "Message Builder" windows, which are also used in the Message Manager application program and are also shown in Figure 4. The "Folder" and "Message Builder" child windows may, in turn, be further enhanced to display "Desktop" and "In Box" windows, or "Message Editor" and "Message Viewer" windows, respectively. The object architecture of the present invention preferably further includes a modal task processor (not shown). The modal task processor preferably may be automatically created when a modal child dialog is created and operates to require the user to respond to the child dialog before allowing the user to interact with any other component within the application. That is, no other child node 94 will be accessible by the user except for the current active child dialog. The modal task processor may also be manually started. In that case, the modal task processor must also be manually ended. All child dialogs may further create other modal child dialogs that increase the level of the modality of the application maintained by the modal processor. Upon closure of these modal child dialogs, the level of modality is decreased. The modal task processor ends when the modality level is zero. In larger scale applications, where several applications work together to create an integrated application, there is a need for the applications to cooperate so that, even though architecturally they are separate executables, the applications are seamlessly integrated such that they appear to the user to be part of the same application. Accordingly, a cooperative application manager (not shown) may be provided to provide such cooperation. The cooperative application manager allows for separate executables to participate with the modal task processor. The result of such synchronization is that the child nodes 94 of another executable will not be accessible during modal task processing of any cooperative application. The method and system of the present invention operate in conjunction with an established operating system, such as, for example, Windows. As is known to those of ordinary skill in the art and as discussed above, when the user of computing equipment 60 that is loaded with Windows operates equipment 60, an object, such as a parent window, may be displayed. Parent windows may further include a menu bar, program icons, or the like, from which the user may select a desired child window for display, as will be apparent to those skilled in the art. Thus, an established operating system, such as Windows, may be used in conjunction with the method and system of the present invention, for example, to display windows on a display screen. According to the present invention, upon initiating execution of application 88, the selected application 88 is accessed from disk 66. For purposes of illustration, application 88 may, for example, be a Message Manager application program, as shown in Figure 4. The selection of application 88 creates server 90, which commands the display of the header block for frame 92 on display screen 61. Frame 92 is configured according to which application 88 is selected by the user. Referring to Figure 5, if the selected application 88 is, for example, Message Manager, the header block 153 for frame 92 may comprise a document control icon 152 or minimize button 156 or, alternatively, may have other means for being closed or iconized. Header block 153 may further include a title bar 102, a menu bar 154 and zero or more document icons 157. Instead of or in addition to document icons 157, documents available for selection by the user also may be represented by zero or more document windows 158. Header block 153 may extend horizontally across the entire width of display screen 61 or may be sized, as desired, to occupy any contiguous subportion of display screen 61, as will be understood by those skilled in the art. Header block 153 does not include exterior borders defining the boundaries of the window. That is, in conventional systems, such as those shown in Figures 1A and 1B, window 50 includes boundaries defined by frame 63. On the other hand, according to the present invention and as illustrated, for example, in Figure 5, no side walls or boundaries extend vertically downward from header block 153. In addition, there is no bottom wall. As discussed in more detail below, because there are no side or bottom walls, document windows 158 that are opened from frame 92 or other entities in the application (i.e., child nodes 94) may be displayed anywhere on display screen 61 and are not restricted to be positioned inside the walls of a corresponding program window (i.e., the parent window). From menu bar 154 and document icons 157 displayed on display screen 61, the user may select any of various child nodes 94 which the user desires to be displayed in connection with the given application 88. For example, referring still to Figure 5, in which the frame 92 displays header 153 for the Message Manager application program, the user may select the Dialer document icon 157. The selection of Dialer document icon 157 by the user is effected for example, using keyboard 68 or mouse 70, signals from which are received by server 90. In response to the selection signals received from keyboard 68 or mouse 70, server 90 commands frame 92 to open the selected child node 94, e.g., document window 158. Frame 92 then commands the display of the selected document window 158 on display screen 61. According to the present invention, child nodes 94, such as document window 158, may be displayed anywhere on display screen 61, even overlapping on the space occupied by header block 153. Because there are no side or bottom walls, document windows corresponding to the child nodes 94 can be displayed without clutter. If desired, more than one child node 94, corresponding to document window 158, may be opened from frame 92, as illustrated, for example, in Figure 6. In such cases, the boundaries of all document windows 158 may extend anywhere on display screen 61. As further illustrated in Figure 6, document windows 158 each include a document control icon 152 and a minimize button 156 by which document windows may be moved and sized in a manner which will be apparent to those skilled in the art. Even though all document windows 158 are located at arbitrary positions on display screen 61, when the user instructs frame 92 to close or iconize using, for example, document control icon 152, minimize button 156 or other suitable means, then each of document windows 158 is also closed. Specifically, the close or iconize instruction is passed from keyboard 68 or mouse 70 and is received by server 90. Pursuant to the instruction, server 90 then closes not only frame 92, but also closes each child node 94 and its corresponding document window 158 which was opened from frame 92. As a result, unlike the operation of prior art MDI-protocol applications, according to the present invention when a parent window, such as frame 92, is closed or iconized, then all child windows, e.g., child nodes 94 corresponding to document windows 158, are also closed notwithstanding the fact that the child windows are not physically located within the boundaries of the parent window. Thus, the user may overcome the constraints present in the prior art by placing child windows anywhere on display screen 61, thereby achieving a more orderly and less cluttered display environment. Unlike prior applications in which child windows that are located outside of the parent window must each be closed individually, the user of the present invention may effectively and efficiently close all child windows, wherever located, simply by closing or iconizing the parent window. Further in accordance with the present invention, all windows, including group windows, program windows and document windows, are associated with a particular context object which identifies the context or type of window. The context type of all context aware child nodes 94 is monitored by context tracer 98 so that context manager 96 at all times knows the context of all windows being displayed on display screen 61 or selected by the user. As a result, as different windows are selected by the user the context object changes accordingly. As mentioned above, context adviser 100 informs context sensitive objects of context type changes. This feature is particularly useful with applications that permit the user to open different types of child windows from a single parent window. In the Message Manager application program illustrated, for example, in Figure 6, both an Address Book child window 158A and a Dialer child window 158B are open. These windows have different functions, that is, Address Book child window 158A is used to store data, such as addresses, while Dialer child window 158B is used to interface with a telephone or the like to send and receive messages. Depending on which child window 158A or 158B is being used by the user at a particular time, different functions may be performed by the user. If Address Book child window 158A is selected, for example, the following menu items may be appropriate: edit, create, save, delete, and so on. On the other hand, if Dialer child window 158B is selected, then other menu items, such as close and clear, may be appropriate. As is known in the art, these available functions are displayed to the user in the form of a menu bar or pull-down menu. According to the present invention, as the user activates a particular child window, such as by "clicking" on it, the context type of the active child window is monitored by context tracer 98. The context type of the active window is then passed to context adviser 100, which commands the display of selected menu items on menu bar 154 in accordance with the context type of the current context of the displayed child window. The particular items comprising the pull-down menus available from each item on menu bar 154 may also be varied as a function of the context type of the selected child window. As a result, the method and system of the present invention, including context manager 96, achieve improved menu management and permit the user to more freely select different types of child windows for display. Changing from one child window to another will thus result in the contents of menu bar 154 being updated by server 90 as a function of the context of the active window which is provided by context adviser 100. The context management achieved by context manager 96 may be further understood by reference to Figures 7A and 7B. As illustrated in Figure 7A, a DeskTop child window 158C is in focus. Window 158C thus advises context tracer 98 that it is the object in context and informs context tracer 98 of its context type, that is, that it is a DeskTop child window. If the user, for example, then selects, or "clicks on", the "File" menu item on menu bar 154, a pull-down menu 160A will be displayed, extending vertically downward from the selected menu item. In accordance with the context type of the current context of DeskTop child window 158C, pull-down menu 160A will include menu items specifically directed to the window that is in context. Accordingly, pull-down menu 160A includes menu items such as "Close DeskTop", "Save Open DeskTop As File", "Print DeskTop" and the like. If the context type of the in-context window changes, the menu-items displayed on pull-down menu 160A may also change. For example, as illustrated in Figure 7B, if the in-focus child window becomes a Message Builder child window 158D, then window 158D will inform context tracer 98 of the change in context type, and the contents of the pull-down menu will be altered accordingly. Thus, pull-down menu 160B associated with Message Builder child window 158D may include menu items such as "Close Message", "Save Open Message As File", "Print Message" and the like, as shown in Figure 7B. The particular preferred protocol used in the method and system of the present invention will now be described with reference to the Programmer's Guide appended hereto. As described therein, a user-display interface according to the present invention may be developed by performing a series of steps. These steps may be broadly characterized as follows: (1). adapting an application; (2). adapting a server; (3). adapting a frame; and (4). adapting child nodes. Optionally, a fifth step may also be performed: (5). using a message box. The best mode for carrying out each of these steps is set forth in detail in the appended programmer's guide and will be apparent from the disclosure set forth herein.

Claims: A method of generating a user display interface for an application in a windowing operating system, said method comprising: in response to execution of said application: creating a server (90) for dispatching user commands to the operating system; creating and initialising a frame window (92), said frame window including an application menu (160); and causing said server to command said frame window to be selectively displayed as a visible header block (153) on a display screen (61); and in response to execution of said frame window (92): requesting creation of a child node (94) from said menu; creating a child node corresponding to said request; and causing said frame window (92) to command said child node (94) to be selectively displayed by said operating system as a visible child window (158) on said display screen (61) at a position independent of that of said frame window (92, 153). A method according to claim 1, wherein a child node created in said creating step comprises a child window (158). A method according to claim 1 or claim 2, wherein a child node created in said creating step comprises a child dialog having a context type associated therewith. A method according to claim 3, further comprising, in the event of a desired task being performed, the step of invoking a modal task processor, said modal task processor disabling the frame window and the or each child node until completion of said desired task. A method according to claim 4, comprising invoking said modal task processor automatically and wherein the desired task involves execution of a modal child dialog. A method according to claim 4, wherein the step of invoking said modal task processor is performed manually and ended manually. A method according to any of claims 4 to 6, comprising the further step of executing and subsequently ending further modal tasks when the modal task processor is invoked. A method according to any of claims 4 to 7, further comprising the step of creating a cooperative application manager when said modal task processor is invoked to synchronise execution between cooperative applications. A method according to any preceding claim, wherein said server (90) is not displayed on said display screen. A method according to any preceding claim, further comprising the step of initialising an accelerator table including accelerators recognisable by said frame window (92) so as to permit selection of a child node (94) from said menu through use of an accelerator. A method according to claim 1, further comprising, in response to execution of the application, creating a context manager (96) to monitor context type in accordance with which child node (94) is active, and altering items of said menu (160) as a function of the context type currently being monitored by said context manager (96). A method according to claim 11, wherein at least one of said child nodes created in said creating step is context aware. A method according to claim 12, wherein said step of creating said context manager (96) comprises the steps of creating a context tracer (98) and a context adviser (100), said context tracer (98) monitoring the context type of the or each context aware child node (94) and said context adviser (100) informing the or each context sensitive child node of the current context type monitored by said context tracer (98). A system for generating a user display interface for an application in a windowing operating system, comprising: means, responsive to execution of said application, for creating a server (90) for dispatching user commands to said operating system; means, responsive to execution of said application, for creating and initialising a frame window (92), said frame window including an application menu (160); means, responsive to execution of said application, for causing said server to command said frame window to be selectively displayed as a visible header block (153) on a display screen (61); means, responsive to execution of said frame window (92), for requesting creation of a child node (94) from said menu; means, responsive to execution of said frame window, for creating a child node corresponding to said request; and means, responsive to execution of said frame window, for causing said frame window to command said child node (94) to be selectively displayed by said operating system as a visible child window (158) on said display screen at a position independent of that of said frame window (92, 153). A system according to claim 14, wherein said means for creating a child node is operable to create a child node comprising a child window (158). A system according to claim 14, wherein said means for creating a child node is operable to create a child node comprising a child dialog having a context type associated therewith. A system according to claim 16, further comprising a modal task processor, said modal task processor being capable of being invoked to disable a created frame window and any created child node or nodes until completion of a desired task. A system according to claim 17, wherein the modal task processor is capable of being invoked automatically and wherein the desired task involves execution of a modal child dialog. A system according to claim 17, wherein the modal task processor is capable of being invoked manually and ended manually. A system according to claim 17, wherein the modal task processor is operable, when invoked, to permit other modal tasks to be executed and ended when said modal task processor is invoked. A system according to claim 17, further comprising means, responsive to execution of the application, for creating a cooperative application manager when said modal task processor is invoked to synchronise execution between cooperative applications. A system according to any of claims 14 to 21, wherein said server creating means is operable to create said server (90) without causing corresponding display output on said display screen. A system according to any of claims 14 to 22, further comprising means for creating an accelerator table including accelerators recognisable by a frame window (92) created by said frame window creating means so as to permit selection of a child node (94) from said menu through use of an accelerator. A system according to any of claims 14 to 23, further comprising means, responsive to execution of said application, for creating a context manager (96), said context manager (96) being operable to monitor context type in accordance with which of any created child nodes (94) is active, and for altering items of said menu as a function of the context type currently being monitored by said context manager (96). A system according to claim 24, wherein at least one of said child nodes created in use is context aware. A system according to claim 25, wherein said context manager (96) in use comprises a context tracer (98) and a context adviser (100), said context tracer (98) monitoring the context types of each context aware child node and said context adviser (100) informing each context sensitive child node of the current context monitored by said context tracer (98). A computer program comprising processor executable instructions for causing a computer to perform the method of any of claims 1 to 13. A computer program comprising processor executable instructions for configuring a computer as a system of any of claims 14 to 26. A storage medium storing a computer program according to claim 27 or claim 28. A signal carrying a computer program according to claim 27 or claim 28.

Inventors: BIBAYAN FARZAD, BIBAYAN, FARZAD
Applicants: CANON KK, CANON KABUSHIKI KAISHA
Application year: 1995
Main classification: G06F9
IPC codes: G06F9