Article # 134, added by Geoworks, historical record
| first | previous | index | next | last |

How to setup VisContent with no children.



When you have a VisContent that has no children and you want it to
have a particular size, you should set the VCGA_CUSTOM_MANAGE_CHILDREN
bit of the VCI_geoAttrs field of the VisContent. This will tell the
geometry manager that the content should not try to calculate its own
VI_bounds and thus your content will maintain whatever size you give it. 
Otherwise the content will make itself fit the size of its children.
With no children, its size will become zero. When the size becomes zero,
the view takes away the scroll bars/arrows and you cannot interact with
the content via pen input.