From: Constantin Porphyrogenete on
Hello all,

I use a DLL for which I have no source code. I call a function in it
that seems to call SetCursor to turn the cursor into the hourglass.
Is there anyway I can suppress this SetCursor, or at least make the
hourglass not appear?

Thanks.
From: Christian ASTOR on
Constantin Porphyrogenete wrote:

> I use a DLL for which I have no source code. I call a function in it
> that seems to call SetCursor to turn the cursor into the hourglass.
> Is there anyway I can suppress this SetCursor, or at least make the
> hourglass not appear?

The cursor can be normally changed on WM_SETCURSOR
From: Constantin Porphyrogenete on
On Jun 15, 3:42 am, Christian ASTOR <casto...(a)club-internet.fr> wrote:
> The cursor can be normally changed on WM_SETCURSOR

The problem it that the DLL itself changes it back to the default
cursor. So if the
calll is made during WM_MOUSEMOVE , the cursor flickers. I want to
avoid this flicker
by making the DLLs calls to SetCursor ineffective.


From: Leslie Milburn on

"Constantin Porphyrogenete" <excubiteur(a)hotmail.com> wrote:

> The problem it that the DLL itself changes it back to the default
> cursor. So if the
> calll is made during WM_MOUSEMOVE , the cursor flickers. I want to
> avoid this flicker
> by making the DLLs calls to SetCursor ineffective.

Use SetCapture()



From: philippe on
Constantin Porphyrogenete wrote:
> On Jun 15, 3:42 am, Christian ASTOR <casto...(a)club-internet.fr> wrote:
>> The cursor can be normally changed on WM_SETCURSOR
>
> The problem it that the DLL itself changes it back to the default
> cursor. So if the
> calll is made during WM_MOUSEMOVE , the cursor flickers.

it's WM_SETCURSOR not WM_MOUSEMOVE..