Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Check if platform is closing

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

    Check if platform is closing

    Is there a way to know that a window opened from an addon is closed by the user or closed by the platform when it is closing down?

    It seems that the window Onclosing event is triggered before the addon Terminated state and before NinjaTrader.Core.Globals.IsApplicationExiting would switch to true. The Closed event doesn't even trigger.
    The window hook returns WM_ message 16 in both cases. So I am out of options.
    Last edited by Zapzap; 04-08-2020, 02:32 PM.

    #2
    Hello Zapzap,

    There isn't anything documented on this and I wasn't able to find any unsupported/undocumented code for this.

    I will submit a feature request for the development team to consider this for a future version of NinjaTrader.

    Once I have a tracking ID for this request, I will post in this thread for future reference.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hello Zapzap,

      This request is being tracked with ID# SFT-4752.

      As with all feature requests, interest is tracked before implementation is considered, so we cannot offer an ETA or promise of fulfillment. If implemented, it will be noted in the Release Notes page of the Help Guide.

      Release Notes — https://ninjatrader.com/support/help...ease_notes.htm
      Chelsea B.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      152 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      305 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      244 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      345 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      176 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Working...
      X