mardi 4 août 2015

How to check the window handle is password field?

I have a window handle (HWND), which was captured from another process not by the current process. Now I have to check The edit control is password field or a normal text field. can I do it successfully?

 I am trying with this one but always I got 0 as result.

uint EM_GETPASSWORDCHAR=210;

SendMessage(hWnd.ToInt32(), EM_GETPASSWORDCHAR, 0, 0);

Aucun commentaire:

Enregistrer un commentaire