RE: Thanks
- Posted by michaelstee at yahoo.com Jun 17, 2003
- 413 views
I've noticed this as well. The behavior of setMousePointer() seems to have changed since about version 0.55 or 0.57. The mouse pointer doesn't change when I call setMousePointer(Win,WaitPointer), but after processing files, the pointer changes (to an hourglass) when I call setMousePointer(Win,NULL). Jonas Temple wrote: > > > Pete, > > I've noticed the same things but haven't really given it too much > thought. > > Maybe what should happen is in setMousePointer if you pass a window it > should set the mouse pointer for ALL child controls of that window? > > As far as the different pointer not appearing, in my experience it seems > > that the mouse pointer doesn't get updated unless you stick a few > doEvents() in the code following the setMousePointer(). I can only > assume that Windows has to get back control to make the mouse change and > > if you have long running code after setMousePointer() Windows never gets > > a chance. > > Derek, any thoughts? > > Jonas > pete_stoner at btconnect.com wrote: > > > > > > Thanks Jonas > > That does what I want - almost.. Maybe I'm being stupid (it > > happens!!) > > I notice that if I set the busy mouse for a window, it only shows the > > busy > > in 'unused' areas > > of the window i.e moving the mouse over any defined fields (Buttons etc) > > makes it revert to normal > > then back to busy when I'm off a button. > > I also found that when I use it within a button click procedure (even as > > the > > first statement) it doesn't kick into life till after the following code > > (which rather defeats the > > object!). I even tried putting it in on down event for the button and on > > > > the > > open event for > > my 'Please Wait'.... Help! > > > > Regards Pete >