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)

$Window->Button->ChangeCursor($C);
$Window->Label->ChangeCursor($C);





> -----Original Message-----
> From: Peter Eisengrein 
> Sent: Thursday, July 05, 2001 9:07 AM
> To: 'perl-win32-gui-users@lists.sourceforge.net'
> Subject: RE: [perl-win32-gui-users] Change cursor to "hourglass" and
> back?
> 
> 
> 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?
> > 
> > 
> > Hi
> > I have a Win32-GUI application in which a query to a website is
> > executed and the results are displayed afterwards. This can take
> > several seconds.
> > 
> > To signal to the user that his query is being processed and 
> he should
> > wait, I would like to display the mouse cursor in the form of an 
> > hourglass while the query is processed, and turn it back to the 
> > original arrow form afterwards.
> > 
> > Who can help me with this?
> > 
> > Best Regards,
> > Felix Gaehler
> > 
> > 
> > 
> > _______________________________________________
> > Perl-Win32-GUI-Users mailing list
> > Perl-Win32-GUI-Users@lists.sourceforge.net
> > http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
> > 
> 

Reply via email to