Is there a way to imbed a cursor into your code the way you can a bitmap? something like this:
$cursor = new Win32::GUI::BitmapInline( q( ... ) ); $linkCursor = new Win32::GUI::Cursor($cursor); $urlClass = new Win32::GUI::Class( -name => "UrlLabelClass", -extends => "STATIC", -cursor => $linkCursor, ); ---------------------------------------------------------------------------- --------------------- Tim Thomas Unix Systems Administrator Lockheed Martin EIS · Denver Data Center 303-430-2281 mailto:[EMAIL PROTECTED] ---------------------------------------------------------------------------- --------------------- -----Original Message----- From: Thomas, Timothy B [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 23, 2001 9:09 AM To: 'perl-win32-gui-users@lists.sourceforge.net' Subject: RE: [perl-win32-gui-users] Final Code: Click on URL in About Wind ow Christopher - it's not meant to work that way, only when you click on the URL is it supposed to open your browser. What version of Win32-GUI are you running? Make sure you are running the latest, I think 0.0.502 is the most recent stable version. ---------------------------------------------------------------------------- --------------------- Tim Thomas Unix Systems Administrator Lockheed Martin EIS · Denver Data Center 303-430-2281 mailto:[EMAIL PROTECTED] ---------------------------------------------------------------------------- --------------------- -----Original Message----- From: christopher sagayam [mailto:[EMAIL PROTECTED] Sent: Monday, January 22, 2001 9:56 PM To: perl-win32-gui-users@lists.sourceforge.net Subject: Re: [perl-win32-gui-users] Final Code: Click on URL in About Window one more thing I don't know whether it is meant to be or not.. But when I click on the url it goes to the url BUT when I click on any other place in the window too it goes to the url ( incl the OK button too) chris www.perl-resume.com ----- Original Message ----- From: Sean Healy <[EMAIL PROTECTED]> To: <perl-win32-gui-users@lists.sourceforge.net> Sent: Tuesday, January 23, 2001 6:50 AM Subject: Re: [perl-win32-gui-users] Final Code: Click on URL in About Window > >Here's the code that you all helped me to figure out. You can use this to > >implement a clickable URL in your About Window, or whereever you like. The > >code may not be very clean, let me know if you have suggestions to improve > >this. This example runs as-is. > > This is great! I've been playing with it a bit, and I added some stuff so > you can change the cursor when it's over the link. You put this code > somewhere before the label with the URL: > > $linkCursor = new Win32::GUI::Cursor('harrow.cur'); > > $urlClass = new Win32::GUI::Class( > -name => "UrlLabelClass", > -extends => "STATIC", > -cursor => $linkCursor, > ); > > Then you add '-class => $urlClass' to the label. The cursor 'harrow.cur' is > included with the Win32-GUI samples. (I think) STATIC is what Windows > actually calls labels. > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com > > > _______________________________________________ > Perl-Win32-GUI-Users mailing list > Perl-Win32-GUI-Users@lists.sourceforge.net > http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users _______________________________________________ Perl-Win32-GUI-Users mailing list Perl-Win32-GUI-Users@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users _______________________________________________ Perl-Win32-GUI-Users mailing list Perl-Win32-GUI-Users@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users