Invention Grant
- Patent Title: Size to content windows for computer graphics
- Patent Title (中): 大小为计算机图形的内容窗口
-
Application No.: US11121572Application Date: 2005-05-04
-
Publication No.: US07730418B2Publication Date: 2010-06-01
- Inventor: Hua Wang , Anup R. Manandhar , Julia H. Farago , Mark A. Alcazar , Sujal S. Parikh , Hamid Mahmood
- Applicant: Hua Wang , Anup R. Manandhar , Julia H. Farago , Mark A. Alcazar , Sujal S. Parikh , Hamid Mahmood
- Applicant Address: US WA Redmond
- Assignee: Workman Nydegger
- Current Assignee: Workman Nydegger
- Current Assignee Address: US WA Redmond
- Main IPC: G06F3/048
- IPC: G06F3/048 ; G06F3/00

Abstract:
Described is a method and system by which a computer program window is sized based on the content to display. The window may automatically resize itself as content changes. When laying out an element tree of elements that contain the content, the elements provide desired size information to a parent container, and so on, up to the root element (e.g., a window). If a window property is set to size to the content, a window size is computed during layout, having a height and/or width based on the child elements plus X and Y deltas for a window non-client area and borders. Logic attached to window message handling controls changes to the content/window, such as to automatically resize for changed content, and to selectively turn off or persist the size to content property. Sizing to content may be programmatically limited to one dimension, with the other dimension fixed.
Public/Granted literature
- US20060253796A1 Size to content windows for computer graphics Public/Granted day:2006-11-09
Information query