Hi Sergey.
I found a workaround...
I've placed my controls inside a form and used the hWnd of this form and get the results that I want.
Maybe this could be used in other situations.
Emerson Santon Reed
"One Developer CAN Make a Difference. A community CAN make a future." - Craig Boyd