Methinks, tooltips is a functionality inherent in GUI ... somewhere ...
maybe here ... or under there ...

As for the right-clix, knowing that the archive search function does not
find anything at all, I searched my own, private mailbox folder and am happy
to re-post my own posting:

-----Original Message-----
Sent: Thursday, June 07, 2001 20:08

About the popup menu, see trail "Re; Popup menu", posting by Jonathan
Southwick on April 2nd, 2001. Apparently, Ludvig af Klinteberg subsequently
managed to use the code for a tray icon.
Quote:

# define popup menu for listview
my $PopupMenu = new Win32::GUI::Menu(
    "Item Properties" => "ItemProp",
    ">&Properties" => "ItemProperties",
);
 
# get right-click in listview
sub DataView_RightClick {
   my($X, $Y) = Win32::GUI::GetCursorPos();
 
   $MainWindow->TrackPopupMenu($PopupMenu->{ItemProp},$X, $Y);
}
 
# clicked on particular menu item in popup menu
sub ItemProperties_Click {
   ## code you want to process;
}

Thanks, Jonathan
Have fun
Harald

> -----Original Message-----
> From: Marcus [mailto:[EMAIL PROTECTED]
> Sent: Friday, November 30, 2001 09:22
> To: perl-win32-gui-users@lists.sourceforge.net
> Subject: [perl-win32-gui-users] Right-Click, Tooltips
> 
> 
> Okay, is in anyone else interested in trying to get Tooltips and
> Window_RightClick (for context menus) working?
> 
> I don't know anything about Win32 internals, but if some people in the
> know could supply help, then I'll try. I was thinking of creating
> separate modules like Hyperlink.pm for now. Is that possible, or would
> event tracking have to be bound into Win32::GUI. As I said, I've no
> idea how it works, but I'll try given some help.
> 
> Any ideas on how to go about this?
> I saw that the Win32::Console module supports mouse events and thought
> we might get some help from that.
> 
> Marcus
> 
> 
> 
> _______________________________________________
> Perl-Win32-GUI-Users mailing list
> Perl-Win32-GUI-Users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
> 

Reply via email to