Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

right mouse (context) menu access

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

    right mouse (context) menu access

    hi. I am using an indicator that includes additional items in the chart context menu (right click). I would like to know how that is done, because I want to write an indicator that allows me to mark a chart and record the price level where I placed the mark. Can anyone share with me the magical incantation I need to invoke to add a right mouse menu item, and how to retrieve the user's mouse position when that was clicked relative to the price scale on the chart in which it was clicked?

    thanks.
    Jorel

    #2
    Unfortunately that's beyond the scope of what we provide support for.
    DierkNinjaTrader Customer Service

    Comment


      #3
      I'm not looking for support. I have 27 years of experience programming in 12 languages. I just need a little help on this undocumented item. I know it's possible...if you can't help me, I'll figure it out anyway, but it will take much longer.

      Comment


        #4
        Theoretically I'd say you should add your event handlers to ChartControl.ChartPanel and place your custom menu somewhere else than the default menu.

        Comment


          #5
          ok. how do I obtain the handle to the chart panel?

          So that I can inject a menu item into the context menu?

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Skyfly1715, Today, 08:10 PM
          1 response
          4 views
          0 likes
          Last Post NinjaTrader_EricB  
          Started by max333, Today, 09:05 PM
          0 responses
          2 views
          0 likes
          Last Post max333
          by max333
           
          Started by MatthewLesko, Today, 07:59 PM
          0 responses
          3 views
          0 likes
          Last Post MatthewLesko  
          Started by VolatyTrading, Today, 07:57 PM
          0 responses
          2 views
          0 likes
          Last Post VolatyTrading  
          Started by RookieKiwi, Today, 06:53 PM
          0 responses
          3 views
          0 likes
          Last Post RookieKiwi  
          Working...
          X