you could check the password box with something as simple as TAB + SPACE (tab over to the check box and hit space to check it) by simulating key strokes. I can't remember if you can enumerate the window to get the handle for the checkbox, in which case you could use SendMessage to check the box. but a carefully designed key stroke simulator could work 99.9% of the time. you could also check to make sure it worked relatively easily with ScrDC = CreateDC("Display",0,0,&) and GetPixel ScrDC,,, to make sure there are some black pixels in the box. You need to get the screen coords for the window also. I could do it in a few minutes but it might seem like too much work if you are not familiar with the APIs. Do you mean you want to read the user's input? GetAsyncKeyState for this.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.