Mouse Cursor (OpenInsight 32-bit Specific)
At 29 JAN 2003 03:32:47AM Colin Rule wrote:
Does anyone know how to set a mouse cursor (eg to a crosshair), within a specific area of a screen, and get it to stay that way within such an area.
I can set the cursor easy enough, but as soon as you move the mouse it goes back to an arrow. I can set the cursor to an hourglass during processing tasks and it stays that way until the process is complete, and that is because the system is busy, but I want a crosshair, AND to have events open to my disposal.
Any ideas?
At 29 JAN 2003 10:48AM [url=http://www.sprezzatura.com" onMouseOver=window.status= Click here to visit our web site?';return(true)]The Sprezzatura Group[/url] wrote:
Colin,
In OI16 days we used to do this via sub-classing the WM_SETCURSOR message with a DLL (which we could still do in OI32). However given the new synchronous WINMSG capability in OI32 it might be possible to achieve the same thing in Basic+. We just haven't tried yet :)
Basically you'll need to use the SetCursor() API function when processing this message. More info can be found on the MSDN site here
World Leaders in all things RevSoft