[[https://www.revelation.com/|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]] ==== Mouse Cursor (OpenInsight 32-bit Specific) ==== === At 29 JAN 2003 03:32:47AM Colin Rule wrote: === {{tag>"OpenInsight 32-bit Specific"}} 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 [url=http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/WinUI/WindowsUserInterface/Resources/Cursors/CursorReference/CursorFunctions/SetCursor.asp]here[/url] [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] [i]World Leaders in all things RevSoft[/i] [img]http://www.sprezzatura.com/zz.gif[/img] [[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=NONWORKS_READ&SUMMARY=1&KEY=032E2171DCE50B7285256CBD002EF263|View this thread on the forum...]]