Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

B7 : Resizing Level II exception

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    B7 : Resizing Level II exception

    Hi,
    I open up Level II, with option to 'Show Summary' checked, customized colors, resized form, right clicked on the form then select 'Properties' - NT throws an exception (FWIW - NT6.5 used to do too).

    Here is the trace:
    PHP Code:
    2010-01-29 11:34:09:359 in OnUnhandledThreadException
    2010-01-29 11:34:09:484 ********* exception trapped *********
    2010-01-29 11:34:09:484 SplitterDistance must be between Panel1MinSize and Width - Panel2MinSize.
    2010-01-29 11:34:09:484    at System.Windows.Forms.SplitContainer.set_SplitterDistance(Int32 value)
       at NinjaTrader.Gui.Level2.Level2Control.Copy(Level2Control from, Level2Control to)
       at NinjaTrader.Gui.Level2.Level2Control.Clone()
       at NinjaTrader.Gui.Level2.Properties.set_Level2Control(Level2Control value)
       at NinjaTrader.Gui.Level2.Level2Control.OnProperties(Object sender, EventArgs e)
       at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
       at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
       at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
       at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
       at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
       at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
       at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
       at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       at System.Windows.Forms.ToolStrip.WndProc(Message& m)
       at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) 
    
    Regards,
    SA
    Last edited by superarrow; 01-29-2010, 10:53 AM.

    #2
    Hmm. I am unable to reproduce. Can you please provide steps from the very beginning of a blank, default Level II window to reach the crash. Thank you.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Beta8

      Hi Josh,
      I have now been able to reproduce the error on B7 & B8, each on a separate computer. These steps should reproduce the issue for you (I note sometimes the exception fails to eventuate if a slight deviation is taken from the steps):

      1. Start NT
      2. Connect to MR
      3. Select period to replay, I did Feb 1-3 2010
      4. Open a default/blank chart & add any instrument.
      5. Start MR replay.
      6. Open a new Level II, select charted instrument.
      7. From Properties of Level II, change colors by double clicking the respective color row (I did 1-6). Press Apply then OK.
      8. Right click to uncheck "Show Quotes", leaving only "Show Summary" + "Show Details".
      9. With your mouse, resize the Level window, as well as the internal spaces of the checked info by dragging in and out.
      10. Right click to access Level II Properties and NT throws an exception.
      Here is latest:
      HTML Code:
      2010-02-04 07:52:52:531 UI (re)load complete, took 0.8 secs, 109.2 secs after app start
      2010-02-04 07:53:32:656 in OnUnhandledThreadException
      2010-02-04 07:53:32:750 ********* exception trapped *********
      2010-02-04 07:53:32:750 SplitterDistance must be between Panel1MinSize and Width - Panel2MinSize.
      2010-02-04 07:53:32:750    at System.Windows.Forms.SplitContainer.set_SplitterDistance(Int32 value)
         at NinjaTrader.Gui.Level2.Level2Control.Copy(Level2Control from, Level2Control to)
         at NinjaTrader.Gui.Level2.Level2Control.Clone()
         at NinjaTrader.Gui.Level2.Properties.set_Level2Control(Level2Control value)
         at NinjaTrader.Gui.Level2.Level2Control.OnProperties(Object sender, EventArgs e)
         at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
         at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
         at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
         at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
         at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
         at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
         at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
         at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
         at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
         at System.Windows.Forms.Control.WndProc(Message& m)
         at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
         at System.Windows.Forms.ToolStrip.WndProc(Message& m)
         at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
         at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
         at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
         at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
      Cheers,
      SA

      Comment


        #4
        Hi superarrow,

        Unfortunately a colleague and I both could not reproduce. Are you using any defaults set for the Level II screen?
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Hi Josh,
          I only changed the colors and of course resizing the Level II window. I do not change any of the other defaults.

          The need to change Level II attributes was triggered by my eyesight's inability to properly view the color yellow, that happens to be the first color on the ladder. I use the first row to gauge market conviction. Changing this color had led to the exceptions ever since. Not a big one for me, since I have managed to do without Level II in my trading. In any case, thanks for having looked into it. Alternatively, maybe a change from yellow to some contrast color set in the factory settings will resolve my issue.


          Cheers,
          SA

          Comment


            #6
            Thank you for the suggestion. I have added it to our feedback list. Unfortunately we were just unable to reproduce.
            Josh P.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            628 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            359 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            105 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            562 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            568 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X