Hello. I have a problem, I don't know how to take window's handle having device's context... If you don't understood me, I'll try explaine it more precisely...
Hello. I have a problem, I don't know how to take window's handle having device's context... If you don't understood me, I'll try explaine it more precisely...
If you want to obtain the HWND from a HDC, use WindowFromDC
If you want to obtain the HDC from a HWND use GetDC (anywhere) or BeginPaint (in WM_PAINT).