Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Popup menu problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Popup menu problem

 Post Reply Post Reply
Author
Message
Maui View Drop Down
Groupie
Groupie


Joined: 10 June 2004
Status: Offline
Points: 95
Post Options Post Options   Thanks (0) Thanks(0)   Quote Maui Quote  Post ReplyReply Direct Link To This Post Topic: Popup menu problem
    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?

Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 14 June 2004 at 8:22am
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
Back to Top
Maui View Drop Down
Groupie
Groupie


Joined: 10 June 2004
Status: Offline
Points: 95
Post Options Post Options   Thanks (0) Thanks(0)   Quote Maui Quote  Post ReplyReply Direct Link To This Post Posted: 14 June 2004 at 8:51am
Cheers
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.156 seconds.