doing some digging I found that you use it as follows:
my $C = new Win32::GUI::Cursor(filename);
### assuming your window is $Window
$Window-ChangeCursor($C);
### YOu also may have to do a ChangeCursor for other widgets like so:
### (assuming a button name of Button and a Label name of Label)
Sorry if this appears twice - I posted it yesterday and got a delivery
warning. Since it hasn't showed up yet and other postings seem to get thru,
I try again:
---
Basically, what you want is
Win32::GUI::SetCursor ()
the tricky thing is to get the standard resource of
Win32::GUI::Cursor should do it (though I've never used it)
-Original Message-
From: Felix Gaehler [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 04, 2001 4:18 PM
To: perl-win32-gui-users@lists.sourceforge.net
Subject: [perl-win32-gui-users] Change cursor to hourglass and back?
Basically, what you want is
Win32::GUI::SetCursor ()
the tricky thing is to get the standard resource of the hourglass. Feel free
to use my perl module http://www.fairymails.com/perl/WinStRes.pm for exactly
this:
Win32::GUI::SetCursor (WinCursor (WAIT)); # hourglass ...
4 matches
Mail list logo