Hi programmers and everybody,

With taht prog, you can get the Handle, ID, window proc... of a control.

The file Example1.exe (+asm) clicks automatically on the OK button at the start of Windows in the LAN password dialog. Edit the example1.reg and put the location of the prog then launch the file.
The file Example2.exe (+asm) changes the value of the 3 buttons of the dialog Start\Execute (maybe it doesn't call Execute, i'm French and hadn't the English version of Windows) and it disables them.
If you want to apply this example to another Window (not Execute, a window you want), you should get the ID of a control with Get&Set and also get the window caption on which there is this control.









Thanks :

I made that prog, because I think it can be very usefull.
I want to thank Iczelion who is a great programmer as everybody knows, thanks to him I can make progs now.
I also want to thank James because I could write this prog no-directly thanks to him.
Remember, he asks how to set text into a control of another Edit Control of another window.
So I decided to make this prog.
Finally, I thank SavaGe for the idea which consists in replacing the stars *** of passwords with the real text, but I used another way to do it.


Help :

To activate or DeActivate a control, you must click on the Hook button then move the cursor on the control you want to get (without clicking away, the Hook button must keep the focus) then press the SpaceBar key.
So , the SET CAPTION button and the CheckBox will be Enabled.
Enter the text you want for the control caption and click the SET CAPTION button.

BE CAREFUL, when you deactivate a control, you can reactivate it, but if you reclick the Hook button, the ID of the disabled control would be 0. So you won't be able to reactivate it. You can reactivate it, just if you took the ID before disabling and the window caption (modify the Example2.asm file and set the ID you want with the corresponding window caption)

When you want to see the text of a Edit control which is set to a password, click the Hook button, and move the cursor on the protected Edit then click on it. The *** sould be replaced with the real text.

Usually, the IDs for the Windows usual dialogs		OK==1h
							Cancel==2h
							Apply==3000h

BE CAREFULL, the values are in hex, not in dec. (don't forget the "h")

If you have questions, comments, send me a mail at :



-->Thomas-Vidal@wanadoo.fr<--

My site :
-->http://www.vombonjour.fr.st<--
  ou
-->perso.wanadoo.fr/a-la-maison<--


These programs have been written by Vom-bonjour:-()
