C
Chris
Hi all,
I have a context menu and I wish its contents to be displayed in a
ToolStripMenuItem.
I simply assign the context menu to toolstripmenuitem.dropdown. This works
fine, but it seems if I right click to open the context menu, the first time
it opens is under ToolStripMenuItem rather than the mouse pointer. After
this everything works as intended. If the ToolStripMenuItem is opened first,
then the contextmenu always appears where it should.
I use this technique in another form and the context menu always displays
correctly.
Is this a bug? If so how do I correct it. It doesn't cause any harm. it's
just an annoyance.
Chris
I have a context menu and I wish its contents to be displayed in a
ToolStripMenuItem.
I simply assign the context menu to toolstripmenuitem.dropdown. This works
fine, but it seems if I right click to open the context menu, the first time
it opens is under ToolStripMenuItem rather than the mouse pointer. After
this everything works as intended. If the ToolStripMenuItem is opened first,
then the contextmenu always appears where it should.
I use this technique in another form and the context menu always displays
correctly.
Is this a bug? If so how do I correct it. It doesn't cause any harm. it's
just an annoyance.
Chris