Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Property Grid
  New Posts New Posts RSS Feed - Context menu in C#
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Context menu in C#

 Post Reply Post Reply
Author
Message
IanWood View Drop Down
Newbie
Newbie


Joined: 15 September 2005
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote IanWood Quote  Post ReplyReply Direct Link To This Post Topic: Context menu in C#
    Posted: 16 September 2005 at 6:29am

Hi,

How do I have a context menu strip associated with the property grid. I notice that there is a right-click event which I asusme is why I can't have the context menu.

What have people done to have a context menu?

Cheers

Back to Top
Boyd View Drop Down
Senior Member
Senior Member


Joined: 08 December 2003
Location: United States
Status: Offline
Points: 285
Post Options Post Options   Thanks (0) Thanks(0)   Quote Boyd Quote  Post ReplyReply Direct Link To This Post Posted: 29 November 2005 at 9:40am
You'll need to respond to the 'RClick' event and programatically display the context menu.  I don't use the .NET built-in menus, but I don't believe you can set the ContextMenu for Codejock's ActiveX controls like you can .NET controls.
Back to Top
dmcelroy View Drop Down
Newbie
Newbie


Joined: 26 March 2006
Location: United States
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote dmcelroy Quote  Post ReplyReply Direct Link To This Post Posted: 26 March 2006 at 4:48pm

OK but how do I get the coordinates of the item in the event?

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.