I have seen some software that hides the superdom control in the SuperDom window and I am trying to achieve the same.
I tried with snoop and if I set the column size of the grid to 0 and MinSize to 0 I can do it. I also saw this example AddOn to add buttons to superdom window this way
var sd = window as NinjaTrader.Gui.SuperDom.SuperDom; if (sd == null) { return; } ///So SuperDomWindow is the Parent and we are assiging it to a SuperDom Object. var xSuperDom = sd.FindFirst("SuperDOMWindow") as NinjaTrader.Gui.SuperDom.SuperDom ; if(xSuperDom==null) return; ///Creating SuperDomControl Object, which is the space inside the superdom. //Assiging our SuperDomControl object the AutomationID inside our xSuperDom SuperDom object. ///FindFirst finds the automation ID. var xSDControl =xSuperDom.FindFirst("SuperDOMControl") as NinjaTrader.Gui.SuperDom.SuperDomControl ;
Regards
Comment