Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[VFP] Mouse cursor dissapears
#3
We're not sure why this happens and which layer in the stack is to blame.
AntView isn't setting or hiding a cursor anywhere.

We were able to reproduce the issue and have applied the following code in VFP as a workaround.

First at the top of the application, this code:
Code:
DECLARE INTEGER ShowCursor IN user32 INTEGER bShow
This declares the Windows API call ShowCursor for your application so that you can call it later on.

Then on closing the second form that hosts the AntView control where the cursor disappears add this:
Code:
thisform.Release()
ShowCursor(1)

This prevented the cursor from disappearing.
--
Wil
Reply


Messages In This Thread
[VFP] Mouse cursor dissapears - by fire555 - 2026-03-17, 00:59:27
RE: [VFP] Mouse cursor dissapears - by wila - 2026-03-17, 08:10:26
RE: [VFP] Mouse cursor dissapears - by wila - 2026-03-24, 15:37:39

Forum Jump:


Users browsing this thread: 1 Guest(s)