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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

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

Thread ID:

Created:

Updated:

Platform:

Replies:

118199 Feb 10,2015 04:10 PM UTC Feb 12,2015 12:48 PM UTC WinForms 3
loading
Tags: TreeViewAdv
Adam Bruss
Asked On February 10, 2015 04:10 PM UTC

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

Senthil Kumaran Rajan [Syncfusion]
Replied On 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



Adam Bruss
Replied On 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);

Senthil Kumaran Rajan [Syncfusion]
Replied On 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



CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;