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 daven, Today, 09:49 AM
          3 responses
          9 views
          0 likes
          Last Post NinjaTrader_Eleanore  
          Started by omermirza, 01-15-2021, 01:15 PM
          13 responses
          117 views
          0 likes
          Last Post NinjaTrader_Jim  
          Started by Island_Boy_Trading, Today, 07:39 AM
          2 responses
          15 views
          0 likes
          Last Post Island_Boy_Trading  
          Started by cmarkb, Today, 07:19 AM
          1 response
          11 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Started by wjadevries, Today, 03:29 AM
          1 response
          16 views
          0 likes
          Last Post NinjaTrader_Jim  
          Working...
          X