- Pop up menu
- Posted by Tumor Mozgowicz on January 2nd, 2004
Hello,
Does anybody know, how to modify the Windows system register, so as after
right mouse click on desktop, a pop-up menu appears with an specific
caption, ( e.g. "Tumor Mozgowicz App") and alternatively with an icon.
--
Best regards,
Tumor Mozgowicz
"Of all the things I've lost, I miss my mind the most!" - Ozzy Osbourne.
CAUTION: To reply directly reverse my first name in the e-mail address.
- Posted by Tim Robinson on January 2nd, 2004
Popup menus don't have captions or icons normally. If you wanted to do this,
you'd have to do some hardcore hacking inside Explorer, which is far more
work that changing the Registry.
I don't think you can directly extend the context menu for the desktop, at
least not through normal interfaces. But if you wanted to give a menu a
caption and an icon elsewhere, you would add an owner-drawn item and draw
the icon/caption yourself.
--
Tim Robinson (MVP, Windows SDK)
http://www.themobius.co.uk/
"Tumor Mozgowicz" <romut-mozgowicz@o2.pl> wrote in message
news:bt491q$7n8$1@inews.gazeta.pl...
- Posted by Tumor Mozgowicz on January 3rd, 2004
| (...) if you wanted to give a menu a caption and an icon
| elsewhere, you would add an owner-drawn item and draw
| the icon/caption yourself.
Thanx for answer, but I need a bit more details. For example, what do you
mean by
1. "add an owner-drawn item"
2. draw the icon/caption yourself.
--
Best regards,
Tumor Mozgowicz
"Of all the things I've lost, I miss my mind the most!" - Ozzy Osbourne.
CAUTION: To reply directly reverse my first name in the e-mail address.
- Posted by Tim Robinson on January 3rd, 2004
"Tumor Mozgowicz" <romut-mozgowicz@o2.pl> wrote in message
news:bt5ph4$7fb$1@inews.gazeta.pl...
Call InsertMenu or AppendMenu with MF_OWNERDRAW.
Handle WM_DRAWITEM and do the drawing there.
BTW, this is well outside the world of registry modification, and into
moderately advanced Win32 programming.
--
Tim Robinson (MVP, Windows SDK)
http://www.themobius.co.uk/
- Posted by Tumor Mozgowicz on January 4th, 2004
| > 1. "add an owner-drawn item"
|
| Call InsertMenu or AppendMenu with MF_OWNERDRAW.
|
| > 2. draw the icon/caption yourself.
|
| Handle WM_DRAWITEM and do the drawing there.
Thx a lot, but have you any idea where I can get some stuff on changing the
desktop popup menu. You know like e.g. WinZip, which offers creating a zip
file directly from menu on the desktop. As far as I understood you well, I
would have to rather intensive explore the Windows Explorer. Ok, that's all
right with me, but could you show a direction. In other words, how shell I
start? Maybe some links or tutorials.
--
Best regards,
Tumor Mozgowicz
"Of all the things I've lost, I miss my mind the most!" - Ozzy Osbourne.
CAUTION: To reply directly reverse my first name in the e-mail address.
- Posted by Tim Robinson on January 4th, 2004
"Tumor Mozgowicz" <romut-mozgowicz@o2.pl> wrote in message
news:bt8hn8$67p$1@inews.gazeta.pl...
I don't know, but try asking this in microsoft.public.platformsdk.shell.
--
Tim Robinson (MVP, Windows SDK)
http://www.themobius.co.uk/
- Posted by Tumor Mozgowicz on January 4th, 2004
| In other words, how shell I
||start? Maybe some links or tutorials.
| I don't know, but try asking this in
| microsoft.public.platformsdk.shell.
I will, thx,
--
Best regards,
Tumor Mozgowicz
"Of all the things I've lost, I miss my mind the most!" - Ozzy Osbourne.
CAUTION: To reply directly reverse my first name in the e-mail address.
- Posted by Raymond Chen on January 4th, 2004
On Sun, 4 Jan 2004 09:09:50 +0100, "Tumor Mozgowicz"
<romut-mozgowicz@o2.pl> wrote:
This is documented
http://msdn.microsoft.com/library/en...ng/context.asp
"Extending the New Submenu"
- Posted by Tumor Mozgowicz on January 5th, 2004
|
http://msdn.microsoft.com/library/en.../programmersgu
ide/shell_basics/shell_basics_extending/context.asp
It seems to be the topic, I was looking for. Thx a lot, Raymond
--
Best regards,
Tumor Mozgowicz
"Of all the things I've lost, I miss my mind the most!" - Ozzy Osbourne.
CAUTION: To reply directly reverse my first name in the e-mail address.