Claims
- 1. A theme management system configured for rendering graphical components on a computer system having a graphical operating system running one or more applications, each application being able to make a request to be linked to a controls module, the theme management system comprising:
a first controls module having one or more first functions responsive to application program interface calls capable of rendering graphical components with themes; a second controls module having one or more second functions responsive to application program interface calls capable of rendering graphical components without themes; and a fusion module that responds to the request by determining whether to link the application to one of the first controls module or the second controls module to render graphical components.
- 2. The theme management system of claim 1 further comprising a theme management module having one or more third functions responsive to rendering calls from the one or more first functions of the first controls module, the third functions capable of rendering graphical components using a theme.
- 3. The theme management system of claim 2 further comprising:
an intercepting hook module that intercepts a non-client window message sent to a target window , the target window having one or more non-client graphical components in a non-client window area, the non-client window message requesting that the target window perform an action on the one or more non-client graphical components; and a first routing module that receives the non-client window message from the intercepting hook module and routes the non-client window message to the one or more third functions of the theme manager so that the action will be performed.
- 4. The theme management system of claim 3 wherein the first controls module further comprises a second routing module that routes an application program interface call to the intercepting hook module so that an action can be performed on the one or more non-client graphical components on the non-client window area in response to the application program interface call.
- 5. The theme management system of claim 3 wherein the second controls module further comprises a third routing module that routes an application program interface call to the intercepting hook module so that an action can be performed on the one or more non-client graphical components on the non-client window area in response to the application program interface call.
- 6. The theme management system of claim 3 wherein the non-client window message is a render message that requests that the one or more non-client graphical component on the non-client window area be rendered, the theme management module responding to the render message by rendering the one or more non-client graphical components.
- 7. The theme management system of claim 3 wherein each of the one or more non-client graphical components is associated with dimensions and the non-client window message is a measurement message that requests that the dimensions of the one or more non-client graphical component on the non-client window area be measured the theme management module responding to the measurement message by measuring the dimensions of the one or more non-client graphical components.
- 8. The theme management system of claim 1 wherein the first and second functions of the first and second controls modules are capable of rendering user controls and shell common controls.
- 9. The theme management system of claim 1 wherein the fusion module comprises first detecting module that detects whether an application has an associated manifest file that indicates which of a set of controls modules should be linked to the application;
a second detecting module that detects whether the manifest indicates that the first controls module should be linked; and a linking module that links the first controls module to of an application if the manifest indicates that the first controls module should be linked.
- 10. A theme management system configured for rendering graphical components on a computer system having a graphical operating system running one or more applications, the theme management system comprising:
an intercepting hook module that intercepts a render message to a target window having non-client graphical components, the render message requesting that the target window render the target window's non-client graphical components; a theme management module having one or more first functions capable of rendering any window's non-client graphical components using a theme; and a routing module that routes the render message to the one or more first functions of the theme manager module so that the target window's non-client graphical components are rendered using a theme having a set of theme properties.
- 11. The theme management system of claim 10 further comprising:
a first controls module having one or more second functions capable of interacting with the one or more first functions of the theme management module to render user controls or shell common controls having theme properties; a second controls module having one or more third functions capable of rendering user controls and shell common controls not having theme properties; and a fusion module responsive to a request from an application to link the application to one of the first controls module or the second controls module.
- 12. A method of rendering a graphical control on a computer display of a computer having a graphical operating system, a first set of applications implementing theme capability, and a second set of applications not implementing theme capability, the method comprising:
providing a first controls module having one or more first functions capable of rendering graphical controls for applications not implementing theme capability; providing a second controls module having one or more second functions capable of rendering graphical controls for applications implementing theme capability; receiving a request from an application, requesting that the application be linked to one of the first controls module and second controls module; determining whether the application implements theme capability; and linking the application to the second controls module if the application implements theme capability, so that the application can use the functions of the second controls module to render graphical controls with themes.
- 13. The method of claim 12 further comprising:
receiving an application program interface call from an application, the application program interface call requesting that a graphical control be rendered; determining whether the graphical control implements theme capability; and calling a theme manager that uses a theme file having graphical component property data to render the requested graphical control in a themed fashion if the graphical control implements theme capability.
- 14. The method of claim 12 wherein the act of determining comprises:
detecting whether a manifest exists for the application; and searching the manifest for an indicator that indicates that the application is capable of interacting with the second controls module to render graphical controls with themes.
- 15. The method of claim 13 further comprising:
intercepting a non-client window message sent to a window having one or more non-client graphical components, the non-client window message requesting that the window perform an action on the one or more non-client graphical components; routing the non-client window message to the theme manager that manages theme properties for non-client graphical components; and performing the action on the one or more non-client graphical components.
- 16. The method of claim 15 wherein the non-client window message is a render message and the action is rendering the one or more non-client graphical components.
- 17. The method of claim 15 wherein the non-client window message is a measurement message, each of the one or more non-client graphical components are associated with dimensions, and the action is measuring the dimensions of the one or more non-client graphical components.
- 18. The method of claim 13 further comprising:
routing the application program interface call to an intercepting hook module; routing the application program interface call to the theme manager that renders non-client graphical components in a themed fashion; determining whether the application program interface call affects one or more non-client graphical components of a window being used by the application; and rendering the one or more non-client graphical components in the themed fashion if the application program interface call affects the one or more non-client graphical components.
- 19. A computer program product readable by a computing system and encoding a computer program of instructions for executing a computer process for rendering a window non-client component in a computer system having a graphical operating system, the computer process comprising:
intercepting a non-client window message sent to a window having one or more non-client graphical components, the non-client window message requesting that the window perform an action on the one or more non-client graphical components; routing the non-client window message to a theme manager that manages theme properties for non-client graphical components; and performing the action on the one or more non-client graphical components.
- 20. A computer program product readable by a computing system and encoding a computer program of instructions for executing a computer process for rendering a graphical control on a computer display of a computer having a graphical operating system, a first set of applications implementing theme capability, and a second set of applications not implementing theme capability, the computer process comprising:
receiving a request from an application, requesting that the application be linked to one of the first controls module and second controls module; determining whether the application is implements theme capability; and linking the application to the second controls module if the application implements theme capability, so that the application can use the functions of the second controls module to render graphical controls with themes.
- 21. The computer program product of claim 20 wherein the computer process further comprises:
receiving an application program interface call from an application, the application program interface call requesting that a graphical control be rendered; determining whether the graphical control implements theme capability; and calling a theme manager that uses a theme file having graphical component property data to render the requested graphical control in a themed fashion if the graphical control implements theme capability.
- 22. The computer program product of claim 21 wherein the act of determining comprises:
detecting whether a manifest exists for the application; and searching the manifest for an indicator that indicates that the application is capable of interacting with the second controls module to render graphical controls with themes.
- 23. The computer program product of claim 21 wherein the computer process further comprises:
intercepting a non-client window message sent to a window having one or more non-client graphical components, the non-client window message requesting that the window perform an action on the one or more non-client graphical components; routing the non-client window message to the theme manager that manages theme properties for non-client graphical components; and performing the action on the one or more non-client graphical components.
- 24. The computer program product of claim 23 wherein the non-client window message is a render message and the action is rendering the one or more non-client graphical components.
- 25. The computer program product of claim 23 wherein the non-client window message is a measurement message, each of the one or more non-client graphical components are associated with dimensions, and the action is measuring the dimensions of the one or more non-client graphical components.
CROSS-REFERENCE TO RELATED APPLICATION
[0001] This application claims the benefit of U.S. Provisional Application No. 60/195512, filed Apr. 6, 2000. In addition, this application is a continuation-in-part application of U.S. patent application Ser. No. 09/670791, filed Sep. 27, 2000 and entitled Application Programming Interface For Changing The Visual Style which claims the benefit of U.S. Provisional Application No. 60/195593, filed Apr. 6, 2000.
Provisional Applications (2)
|
Number |
Date |
Country |
|
60195512 |
Apr 2000 |
US |
|
60195593 |
Apr 2000 |
US |
Continuations (1)
|
Number |
Date |
Country |
Parent |
09827842 |
Apr 2001 |
US |
Child |
10868086 |
Jun 2004 |
US |
Continuation in Parts (1)
|
Number |
Date |
Country |
Parent |
09670791 |
Sep 2000 |
US |
Child |
10868086 |
Jun 2004 |
US |