PDA

View Full Version : Mouse Cursors


JXBURNS
02-27-2007, 10:15 AM
Is there any way to alter the mouse cursor as you can in VB etc to something like a hourglass during a lengthy operation?

I have an unzip process that installs over 5GB of files and, although the progress bar is fine in the STATUSDLG window, I thought would be nicer to show my users the computer is doing something with the hourglass being the normal Windows wait symbol. At times the progress appears to stop due to a few files making up most of the ZIP file - one is over 1GB in size. I know I could do something fancy with the callback and number of bytes extracted etc. but looking for an easy solution.

I looked at http://www.indigorose.com/forums/archive/index.php/t-8097.html (http://www.indigorose.com/forums/archive/index.php/t-8097.html)but did not work in SUF7 as the cursor stayed in a pointer state. Also checked out the lua manual and could find nothing obvious.

Thanks - John

Adam
02-28-2007, 10:54 AM
I don't see a way by default in Setup Factory 7.0. This could probably be done externally with a dll call but I am not sure how.

Adam Kapilik

JXBURNS
02-28-2007, 11:40 AM
OK thanks. Me thinks time to go off and 'Google'...

Rgds John

DanCooperstock
12-18-2007, 10:24 AM
I also just tried the solution in the archive post listed in John's post (which I developed independently, before reading this) and it just does nothing in SUF7.

Does anybody else have any bright ideas?

jcuster
12-18-2007, 12:59 PM
I also just tried the solution in the archive post listed in John's post (which I developed independently, before reading this) and it just does nothing in SUF7.

Does anybody else have any bright ideas?

http://www.autoitscript.com/forum/lofiversion/index.php?t22214.html

Check this link for an idea about using User32.dll

DanCooperstock
12-18-2007, 01:24 PM
No, that script id trying to do something very different, namely replace one of the system cursors with one in a specified cursor file, so that whenever that system cursor (e.g. the standard pointer cursor, or whichever one is replaced) is called for, the one in the specified file is used. That would be a permanent change.

All I want to do is bring up the standard wait cursor (usually an hourglass)while I am running a potentially long action through a File.Run(...) call, then put back the standard pointer cursor after the call returns.