Hi
How do you make Easy Code Visual Application to Tab automatically without physically pressing the Tab button on the keyboard?
Thanks
I mean to Tab to the first Tab Stop position which is 0
Hi etow,
If you mean whether there is a method to do that, the answer is no, but if you want to simulate a button to be clicked just send a WM_LBUTTONDOWN and a WM_LBUTTONUP messages to the button. First, you must get the handle to the button (using the GetWindowItem method). Now, let's supose you have the button's handle in the Edi register:
Invoke SendMessage, Edi, WM_LBUTTONDOWN, MK_LBUTTON, 0
Invoke SendMessage, Edi, WM_LBUTTONUP, 0, 0
Ramon