DisplayPopupMenu(#Menu, WindowID [, x, y])

Just starting out? Need help? Post your questions and find answers here.
Bong-Mong
User
User
Posts: 35
Joined: Sat Jan 03, 2004 6:53 pm

DisplayPopupMenu(#Menu, WindowID [, x, y])

Post by Bong-Mong »

i hoping to use this command on leftclick systray.
it works but displays the menu in wrong place.

if person is using different resolution, will my x,y point change?

anyway i want DisplayPopupMenu(#Menu, WindowID [, x, y]) to be a systemtray menu

can anyone help me plot it in position
1.3AMD, 2x 256 sdr, 32 AGP
Proteus
Enthusiast
Enthusiast
Posts: 113
Joined: Wed Sep 17, 2003 8:04 pm
Location: The Netherlands

Post by Proteus »

DisplayPopupMenu(#Menu, MenuID())

There, that's the correct position. Exactly where the mouse is.
P4 2.4GHz, 256 MB, WinXP Pro, onboard video&audio.
The Programmer's Drinking Song:
"99 little bugs in the code,
99 little bugs.
Fix one bug, recompile
100 little bugs in the code."
Bong-Mong
User
User
Posts: 35
Joined: Sat Jan 03, 2004 6:53 pm

Post by Bong-Mong »

Thanks :p
1.3AMD, 2x 256 sdr, 32 AGP
Post Reply