The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
|
|
Change mouse pointer at run time
Posted: 22 Jun 06 5:40 AM
|
buy naltrexone buy naltrexone online cheap redirect buy naltrexone without prescription fiogf49gjkf0d Hi, may be I lost some info but I cannot find how to change the mouse pointer at run time. I only want to show the hourglass for a long time activities and after resume the std pointer. I see the form.cursor properties but at run time it seems not to work.
Could some one drive me thru this issue? TIA
|
|
|
|
Re: Change mouse pointer at run time
Posted: 04 Jul 06 8:25 AM
|
fiogf49gjkf0d Form.Cursor & Control.Cursor are the only built-in methods available. VBScripting has no "cursor methods".
You could build an activeX Dll (using vb6) and reference it at run-time (CreateObject). However, you would need to distribute it (the dll) to all client systems.
|
|
|
|
Re: Change mouse pointer at run time
Posted: 05 Jul 06 10:07 PM
|
fiogf49gjkf0d Form.Cursor is correct, but you will also need to set the cursor property of the controls on the form as they override the form's cursor property when the mouse hovers over them. You may also need to perform a DoEvents -- that is, Application.BasicFunctions.ProcessWindowMessages() -- at least once to get the form and its controls to "let go" of the default mouse cursor, BEFORE executing your synchronous process. |
|
|
| |
| |
|