Claims
- 1. A method for merging a first set of controls from a first command bar in a first program module and a second set of controls from a second command bar in a second program module, said method comprising the steps of:determining which of the first set of controls are eligible to be donated; determining which of the second set of controls are eligible to be donated; combining the eligible controls from the first set of controls with the eligible controls from the second set of controls ; and displaying a merged command bar including at least one control from the first set of controls and at least one control from the second set of controls.
- 2. The method of claim 1, wherein combining the eligible controls from the first set of controls with the eligible controls from the second set of controls comprises the steps of:comparing the eligible controls from the first set of controls to the second set of controls; and arranging the eligible controls from the first set of controls in the merged command bar.
- 3. The method of claim 2, wherein the steps of comparing and arranging the eligible control from the first set of controls comprise the steps of:determining whether the eligible control from the first set of controls is equivalent to a control from the second set of controls; and if the eligible control from the first set of controls is equivalent to a control from the second set of controls, placing the eligible control from the first set of controls in the same position as the equivalent control from the second set of controls.
- 4. The method of claim 2, wherein the steps of comparing and arranging the eligible controls from the first set of controls comprise the steps of:determining whether the control that precedes the eligible control from the first set of controls in the first command bar is equivalent to a control from the second set of controls; and if the control that precedes the eligible control from the first set of controls in the first command bar is equivalent to a control from the second set of controls, placing the eligible control from the first set of controls after the equivalent control from the second set of controls.
- 5. The method of claim 2, wherein the steps of comparing and arranging the eligible controls from the first set of controls comprise the steps of:determining whether an eligible control from the first set of controls is first in the first command bar; and if the eligible control is first in the first command bar, placing the eligible control first in the merged command bar.
- 6. The method of claim 1, further comprising the steps of:determining whether the first command bar and the second command bar are equivalent; and if the first command bar and the second command bar are not equivalent, displaying the first command bar including the controls from the first set of controls.
RELATED APPLICATIONS
The present application is a divisional of non-provisional patent application entitled “Improved Method for Displaying Controls in a System Using a Graphical User Interface”, filed on Jul. 14, 1997 and assigned U.S. application Ser. No. 08/891,945 pending.
US Referenced Citations (11)
Non-Patent Literature Citations (2)
Entry |
Microsoft Word: The World's Most Popular Word Processor, Version 6.0 User's Guide, Microsoft Corporation, 1993-1994, pp. xi, 737-758. |
Brockschmidt, Kraig, Inside OLE 2: The Fast Track to Building Powerful Object-Oriented Applications, Microsoft Press, 1994, pp. v-xiv, 843-905, 969. |