Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

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

The Sprezzatura Group

World Leaders in all things RevSoft

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/032e2171dce50b7285256cbd002ef263.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1