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:
from: Correctly drawn themed dialogs in WinXP - CodeProjectCode:SendMessage(inst->hwnd,WM_PRINTCLIENT, (WPARAM)(HDC)(imgButton), (LPARAM)(PRF_ERASEBKGND | PRF_CLIENT | PRF_NONCLIENT));
but i'm not getting the right reesolte
can anyone advice me more?