Print Page | Close Window

Popup menu problem

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=831
Printed Date: 10 May 2024 at 3:41pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Popup menu problem
Posted By: Maui
Subject: Popup menu problem
Date 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?




Replies:
Posted By: SuperMario
Date 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://support.microsoft.com:80/support/kb/articles/q191/6/70.asp&NoWebContent=1 - 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;170570 - 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.


Posted By: Maui
Date Posted: 14 June 2004 at 8:51am
Cheers



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net