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 jewelkulas, Today, 10:30 PM
          0 responses
          3 views
          0 likes
          Last Post jewelkulas  
          Started by jc.am, Today, 07:59 PM
          1 response
          9 views
          0 likes
          Last Post NinjaTrader_EricB  
          Started by ybhx0315, Today, 09:06 PM
          0 responses
          9 views
          0 likes
          Last Post ybhx0315  
          Started by parkinsonbr, Today, 08:23 PM
          0 responses
          6 views
          0 likes
          Last Post parkinsonbr  
          Started by i2w8am9ii2, Today, 04:36 PM
          2 responses
          16 views
          0 likes
          Last Post i2w8am9ii2  
          Working...
          X