Re: [python-win32] Simulating a mouse click - lParam

2008-12-12 Thread Rickey, Kyle W
er 08, 2008 11:28 AM To: python-win32@python.org Subject: Re: [python-win32] Simulating a mouse click - lParam I tried using the InvalidateRect but it had not effect. Below is the code I used. TCM_SETCURSEL = 0x130C win32gui.SendMessage(hwnd, TCM_SETCURSEL, 3, 0) win32gui.InvalidateRect(hwnd, None,

Re: [python-win32] Simulating a mouse click - lParam

2008-12-08 Thread Rickey, Kyle W
ent: Friday, December 05, 2008 6:34 PM To: Python-Win32 List Subject: Re: [python-win32] Simulating a mouse click - lParam Rickey, Kyle W wrote: > Thanks Tim. I used the following to select my tab of interest: > > TCM_SETCURSEL = 0x130C > win32gui.SendMessage(hwnd, TCM_SETCURSE

Re: [python-win32] Simulating a mouse click - lParam

2008-12-05 Thread Tim Roberts
Rickey, Kyle W wrote: > Thanks Tim. I used the following to select my tab of interest: > > TCM_SETCURSEL = 0x130C > win32gui.SendMessage(hwnd, TCM_SETCURSEL, 3, 0) > > However, according to MSDN: > http://msdn.microsoft.com/en-us/library/bb760612(VS.85).aspx > "Remarks > > A tab control does no

Re: [python-win32] Simulating a mouse click - lParam

2008-12-05 Thread Rickey, Kyle W
quot;elegantly"), but again, the window does not update. Any ideas? -Kyle Rickey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Roberts Sent: Friday, December 05, 2008 4:25 PM To: Python-Win32 List Subject: Re: [python-win32] Simulating a mouse

Re: [python-win32] Simulating a mouse click - lParam

2008-12-05 Thread Rickey, Kyle W
ndow does not update. Any ideas? -Kyle Rickey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Roberts Sent: Friday, December 05, 2008 4:25 PM To: Python-Win32 List Subject: Re: [python-win32] Simulating a mouse click - lParam Rickey, Kyle W wrote: >

Re: [python-win32] Simulating a mouse click - lParam

2008-12-05 Thread Tim Roberts
Rickey, Kyle W wrote: > > Let’s say I’ve got a window for which I want to simulate a mouse click > at a specific x, y coordinate. I already have the hwnd but I’m not > sure how to construct the lParam. I’ve used SendMessage in the past to > click on buttons, etc., but I knew their hwnds. How do I c

[python-win32] Simulating a mouse click - lParam

2008-12-05 Thread Rickey, Kyle W
Let's say I've got a window for which I want to simulate a mouse click at a specific x, y coordinate. I already have the hwnd but I'm not sure how to construct the lParam. I've used SendMessage in the past to click on buttons, etc., but I knew their hwnds. How do I construct the lParam. Per the MSD