Popup menu problem |
Post Reply |
Author | |
Maui
Groupie Joined: 10 June 2004 Status: Offline Points: 95 |
Post Options
Thanks(0)
Posted: 13 June 2004 at 6:41am |
I have a funny situation I am hoping someone can help me with. I have made a popup menu so when the user right clicks the menu appears. I copied the code from the SDI example where it works fine. In my app this code also works fine over most controls. eg over a label for a form. But when I create the popup menu over a textbox I get the textbox's default menu. eg the cut copy past menu. Then wherever I click next using either left or right mouse button I will get the popup menu I was trying to create. Has anyone else had this problem or know how to get around it? |
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
Maybe you can try a solution something like this (I have seen several ways around this):
http://support.microsoft.com/default.aspx?scid=http://supp or t.microsoft.com:80/support/kb/articles/q191/6/70.asp& ;NoW ebContent=1 Or http://support.microsoft.com/default.aspx?scid=kb;EN-US;1705 70 Or you could possible use a RichTextbox control as it does not have a default pup-up menu. Edited by SuperMario |
|
Maui
Groupie Joined: 10 June 2004 Status: Offline Points: 95 |
Post Options
Thanks(0)
|
Cheers
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |