|
From: Thomas, T. B <tim...@lm...> - 2001-01-23 16:59:51
|
Is there a way to imbed a cursor into your code the way you can a =
bitmap?
something like this:
$cursor =3D new Win32::GUI::BitmapInline( q(
...
) );
$linkCursor =3D new Win32::GUI::Cursor($cursor);
$urlClass =3D new Win32::GUI::Class(
-name =3D> "UrlLabelClass",
-extends =3D> "STATIC",
-cursor =3D> $linkCursor,
);
------------------------------------------------------------------------=
----
---------------------
Tim Thomas
Unix Systems Administrator
Lockheed Martin EIS =B7 Denver Data Center
303-430-2281
mailto:tim...@lm...
------------------------------------------------------------------------=
----
---------------------
-----Original Message-----
From: Thomas, Timothy B [mailto:tim...@lm...]
Sent: Tuesday, January 23, 2001 9:09 AM
To: 'per...@li...'
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 =B7 Denver Data Center
303-430-2281
mailto:tim...@lm...
------------------------------------------------------------------------=
----
---------------------
-----Original Message-----
From: christopher sagayam [mailto:chr...@ya...]
Sent: Monday, January 22, 2001 9:56 PM
To: per...@li...
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 <jal...@ho...>
To: <per...@li...>
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 =3D new Win32::GUI::Cursor('harrow.cur');
>
> $urlClass =3D new Win32::GUI::Class(
> -name =3D> "UrlLabelClass",
> -extends =3D> "STATIC",
> -cursor =3D> $linkCursor,
> );
>
> Then you add '-class =3D> $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
> Per...@li...
> http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
_______________________________________________
Perl-Win32-GUI-Users mailing list
Per...@li...
http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
_______________________________________________
Perl-Win32-GUI-Users mailing list
Per...@li...
http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
|