We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

System::Windows::Forms::ContextMenuStrip shows up in the wrong position when first right clicking on a TreeViewAdv

Thanks for making great controls and working to support your customer base so well.

We have a windows forms c++ application with a ribbonform, ribboncontroladv, dockingmanager and tabbedmdimanager in it. One of the docking windows has a treeviewadv in it. The first time you right click on the treeviewadv after application startup, the context menu appears in the wrong position. The incorrect position depends on the Y position of the application window. See the attached image. Subsequent right click context menus appear in the correct position! 

Thanks for the great products,
Adam

Attachment: badpos_6d0bd48c.zip

3 Replies

SK Senthil Kumaran Rajan Syncfusion Team February 11, 2015 01:03 PM UTC

Hi Adam,

Thank you for using Syncfusion products.

We regret to let you know that, we have prepared a sample with mentioned controls loaded in it and tried to reproduce the reported behavior. But we could find Context Menu gets displayed in proper location in all aspects. Could you please check with the sample, video attached in following location?

Sample Location : http://www.syncfusion.com/downloads/support/directtrac/general/TreeViewAdv-ContextMenu-319379060.zip

Video Location : http://www.syncfusion.com/downloads/support/directtrac/118199/ContextMenu1870014026.zip

If you are still able to reproduce this reported behavior, Could you please guide us with more details like, sample that can helps to reproduce this reported behavior?  That will be helpful for us to analyze and provide prompt solution as earlier as possible.

Please let us know if you need further assistance.

Regards,

Senthil kumaran




AB Adam Bruss February 11, 2015 02:30 PM UTC

Thanks for the reply.
We resolved it by showing the context menu manually using

this->m_pContextMenu->Show(this, clickpt.X, clickpt.Y);


SK Senthil Kumaran Rajan Syncfusion Team February 12, 2015 12:48 PM UTC

Hi Adam,

Thank you for your update.

We are glad that, you have found the solution for this reported behaviour.

Please let us know if you need further assistance.

Regards,

Senthil



Loader.
Live Chat Icon For mobile
Up arrow icon