when i make a transparent dialog doing all this:
BOOL CWhatisthisDlg::OnEraseBkgnd(CDC* pDC)
//over ride OnErase
BOOL CWhatisthisDlg::PreCreateWindow(CREATESTRUCT& cs)
cs.dwExStyle = WS_EX_TRANSPARENT;
cs.style = WS_BORDER | WS_CAPTION;
void CWhatisthisDlg::OnMove(int x, int y)
My problem is when i move the dialog if i move it a short distance it shows the dialog in it's previous position and not what's behind it. if you could create a quick program and edit the sections i posted above you would see what it is i'm trying to accomplish, i do not wish to create a region, i want the dialog to appear like it's glass when you click on it you are still clicking on the dialog, what i have now works fine but as you can see when you move it you can see where it was previously.