Parent-Child windows relationship
-
Hello I´m programming a toolband object. I have a reflector window and a Toolbar ( I derived a class from CWindowWithReflector< MyClass, CtoolBarCtrl> with the ToolBar class also superclassed) and when i step into the code they are created in the right parent-child relationship. That is, the toolbar as a child of the reflector, and the reflector as a child of the IE rebar control. But when the band object is on the browser both the toolbar and the reflector are children of the rebar!!! And the toolbar is not assigned to any band... Any idea of what´s happening or how can i trace where the change in the relationship is occuring? I tried with calls to SetParent all over the code but it didn´t work either. Thanks Gabriel Old C programmers never die. They just cast into void