From: Peter E. <Pet...@at...> - 2001-07-05 17:20:15
|
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: 'per...@li...' > 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:fe...@fr...] > > Sent: Wednesday, July 04, 2001 4:18 PM > > To: per...@li... > > 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 > > Per...@li... > > http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users > > > |