Example #1
0
        public override void doIt(MArgList args)
        {
            // Create the window to dock
            wnd = new wpfexamples.DAGExplorer();
            wnd.Show();

            // Extract the window handle of the window we want to dock
            IntPtr mWindowHandle = new System.Windows.Interop.WindowInteropHelper(wnd).Handle;

            // Dock it in Maya using the docking station
            mI = new MDockingStation(mWindowHandle, true, MDockingStation.BottomDock | MDockingStation.TopDock, MDockingStation.BottomDock);
        }
Example #2
0
        override public void doIt(MArgList args)
        {
            // Create the window to dock
            wnd = new wpfexamples.DAGExplorer();
            wnd.Show();

            // Extract the window handle of the window we want to dock
            IntPtr mWindowHandle = new System.Windows.Interop.WindowInteropHelper(wnd).Handle;

            // Dock it in Maya using the docking station
            mI = new MDockingStation(mWindowHandle, true, MDockingStation.BottomDock | MDockingStation.TopDock, MDockingStation.BottomDock);
        }