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

Adding a VisComp child to GenDocument object.



Q. How and when is the best time for someone to add a VisComp as a
   child of a GenDocument? I am trying to do it in the
   MSG_GEN_DOCUMENT_ATTACH_UI_TO_DOCUMENT handler, but at that point
   the Vis master part of the document object isn't built out.

A. You should be able to do it after calling the superclass.
   MSG_VIS_ADD_CHILD will force it to be built out.