15,902,835 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Neokyuubi (Top 4 by date)
Neokyuubi
10-Nov-14 13:08pm
View
I gave an example for what i'm trying to do : i want to produce the same result (in the Windows explorer context menu) as when you hover items in the menu from - Start => ShutDown => arrow => Menu (in Windows 7).
What i have done in the registry is just adding an entry called MyApp to the "Windows explorer ContextMenu"
Now i will try to use
UI Automation
(from the Windows SDK) to get the even that an menu item is hovered. and i will combine it with
WM_CONTEXTMENU
to know when i have to show/destroy my own window/tooltip.
I know that's a rare case, so if this works i will post the solution or maybe an entire article.
Neokyuubi
6-Nov-14 21:20pm
View
Thank you for taking time to answer, but I'm afraid that is not the subject.
I'm trying to add an infotip to the windows "explorer" context menu while I'm hovering an item that i added through the registry : HKCR -> * -> shell -> MyApp -> command
I saw in the registry that Objects and Folders had a string value
REG_SZ
called
infoTip
, so i tried to add the same in my new entry "MyApp" but it does not show anything.
I will continue my research about how to get the hovered item menu in the explorer context menu while it's displayed.
Neokyuubi
6-Nov-14 15:09pm
View
Yes, as you guessed I'm using "System.Windows.Forms".
Neokyuubi
4-Nov-14 12:21pm
View
Well i did not called it tooltip because Microsoft does not consider a Contextmenu as
progressive disclosure control
By the way the way that i described the action does not even need doing it from c# just by adding entries in the registry.
I was thinking about an other approach, since i can get : when a Contextmenu is invoked or destroyed by tracking the
WM_CONTEXTMENU
, and i can get a handler of that Contextmenu.
Maybe if i can extract or get items from that Contextmenu, i would create a new custom window based on the cursor position as a infotip or tooltip