Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Disable windows cut/paste popup menu on object's right mouse click

Posted on 1997-08-06
1
Medium Priority
?
155 Views
Last Modified: 2012-06-21
I want to disable the windows popup menu that appears when I
right click on an object (on MDI child form). When I right click on my object I want another form to appear, but the popup menu also appears.
0
Comment
Question by:englm
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 1

Accepted Solution

by:
olx earned 100 total points
ID: 1429859
presto!!

i did it with a textbox.  Create a menu (here mnuMymenu), hide it, create then a submenu (here mnuA), so when you right click on
the textbox (you can replace it with your child mdi form) the mnuMymenu appears and then you select this option (its caption could be: (Click here to do ...) and then the form2 appears.


Private Sub Text1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
 If Button = 2 Then
        Text1.Enabled = False
        PopupMenu mnuMymenu
        Text1.Enabled = True
     End If
End Sub

Private Sub mnua_Click()
   Form2.Visible = True
End Sub

please comment your results.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Suggested Courses

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question