Get Hwnd of CheckBox in PictureBox
How can I get the hwnd of a check box in a picture box of a program? I tried:
pichwnd=FindWindowEx(MyHwnd, ByVal 0&, "ThunderRT6PictureBoxDC", vbNullString)
checkboxhwnd=FindWindowEx(pichwnd, ByVal 0&, "ThunderRT6CheckBox", vbNullString)
MsgBox checkboxhwnd
pichwnd returned a value but checkboxhwnd returned 0
Re: Get Hwnd of CheckBox in PictureBox
Is it your program (app) that your trying to get the CB Hwnd?
Re: Get Hwnd of CheckBox in PictureBox
No. It's another program made in VB.
Re: Get Hwnd of CheckBox in PictureBox
Only obvious thing is that you've spelt the class names wrong.
Have a link to the app?
Re: Get Hwnd of CheckBox in PictureBox
It would probably be faster if you just made it in VB yourself and tested it.
Re: Get Hwnd of CheckBox in PictureBox
It uses DeleteDC on the picture box