Re: [python-win32] SetCursor

2008-07-26 Thread Brian Parma
On Sat, Jul 26, 2008 at 6:19 PM, Michiel Overtoom <[EMAIL PROTECTED]> wrote: > Brian wrote... > > >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

Re: [python-win32] SetCursor

2008-07-26 Thread Michiel Overtoom
Brian wrote... >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). Have you tried to 'capture' the mouse with SetC

Re: [python-win32] SetCursor

2008-07-25 Thread Brian Parma
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 Wi

Re: [python-win32] SetCursor

2008-07-25 Thread Tim Roberts
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 use

Re: [python-win32] SetCursor

2008-07-25 Thread Brian Parma
On Fri, Jul 25, 2008 at 4:13 PM, Tim Roberts <[EMAIL PROTECTED]> wrote: > Brian Parma wrote: > >> Is this function working? When I try it using a default cursor >> (IDC_WAIT), the cursor changes only if the mouse is over the window, and >> even then if I move the mouse at all it reverts back imme

Re: [python-win32] SetCursor

2008-07-25 Thread Tim Roberts
Brian Parma wrote: Is this function working? When I try it using a default cursor (IDC_WAIT), the cursor changes only if the mouse is over the window, and even then if I move the mouse at all it reverts back immediately. I googled this problem a bit and only found one mailing list post on th

[python-win32] SetCursor

2008-07-25 Thread Brian Parma
Is this function working? When I try it using a default cursor (IDC_WAIT), the cursor changes only if the mouse is over the window, and even then if I move the mouse at all it reverts back immediately. I googled this problem a bit and only found one mailing list post on this problem, but there wa