I created a custom DocumentWindow which defines the header to include a save button like the example in the QuickStarts Custom Docking Windows. I do a programmatic creation of this custom window. I have constructors that call the base DocumentWindow constructors.
When I call the base DocumentWindow(dockSite, ...). The Header property is null.
If I just instantiate with a no arg constructor, the Header is not null, but then I can't set the window's DockSite. What am I doing wrong?
Or is there a better way of doing this?
Thanks,
Mary
[Modified at 02/03/2011 05:50 PM]
When I call the base DocumentWindow(dockSite, ...). The Header property is null.
If I just instantiate with a no arg constructor, the Header is not null, but then I can't set the window's DockSite. What am I doing wrong?
Or is there a better way of doing this?
Thanks,
Mary
[Modified at 02/03/2011 05:50 PM]