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

x
?
Solved

VB.NET 2008 - Intercept right click menu in windows 7 taskbar

Posted on 2010-09-09
2
Medium Priority
?
784 Views
Last Modified: 2013-12-17
I am developing an application in VB.NET 2008 on Windows 7, having a Form with no Title Bar (FormBorderStyle = None, and ShowInTaskbar = True), and I need to intercept and prevent from showing the right click context menu, for my application, in windows 7 taskbar.

Is there any way to intercept WM_CREATE or WM_ACTIVATE messages, or any other useful messages in WndProc ?

I found an example for intercepting those messages, I don't know if it really helps for my exact request, in C#, on this page:

http://www.winvistaside.de/forum/index.php?showtopic=3212


I really need help.
Thank you in advance.
0
Comment
Question by:mediasoftware
[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
2 Comments
 
LVL 2

Accepted Solution

by:
EdMonk earned 2000 total points
ID: 33681727
On your form you need to override the WndProc method.

Here is a list of the enums to help you find the right message - http://www.pinvoke.net/default.aspx/Constants/WM.html
0
 

Author Closing Comment

by:mediasoftware
ID: 33684308
Thank you for your answer EdMonk, that's all I was need to know.

Looking forward to work with you.
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

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

705 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