On Fri, Jul 25, 2008 at 6:13 PM, Tim Roberts <[EMAIL PROTECTED]> wrote:

> Brian Parma wrote:
>
>>
>>
>> I was under the impression that SetCursor sets the mouse cursor
>> 'system-wide', not just for your window.  At least that's how it seems to
>> work in this C++ example:
>>
>
> No.  It did in Win16, but not in the Win32 systems.
>
>
>  For the second part, this example produces it.  It uses PyQt4, could that
>> be causing the problem?  It changes the Icon on any key press when the
>> window has focus.
>>
>
> Hmmm, I don't know enough about Qt to answer that.  It's quite possible
> that Qt is doing its own cursor management, and is not expecting you to call
> the API behind its back.
>
>
> --
> Tim Roberts, [EMAIL PROTECTED]
> Providenza & Boekelheide, Inc.
>
> _______________________________________________
> python-win32 mailing list
> python-win32@python.org
> http://mail.python.org/mailman/listinfo/python-win32
>

Oops, forgot to post the link for the C++ example:
http://www.codeproject.com/KB/dialog/windowfinder.aspx

The way it works is, when you click on the 'target' the mouse cursor
changes, and it is kept that way as long as you keep the mouse button down,
even when you drag the mouse out of the window (that's the point of the
application).
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to