i'm trying put my button control transparent. i can use Regions, but i will get problems. so how can i copy the parent control DC before draw the child control?
i'm trying these:
Code:
SendMessage(inst->hwnd,WM_PRINTCLIENT, (WPARAM)(HDC)(imgButton),
           (LPARAM)(PRF_ERASEBKGND | PRF_CLIENT | PRF_NONCLIENT));
from: Correctly drawn themed dialogs in WinXP - CodeProject

but i'm not getting the right reesolte
can anyone advice me more?