When click shadow window is how to make it not activated?
Int CShadowDialog: : onm ouseActivate (CWnd * pDesktopWnd, UINT nHitTest, UINT message)
{
//TODO: add the message handler code and/or invoke the default
Return MA_NOACTIVATE;//the CWnd: : onm ouseActivate (pDesktopWnd nHitTest, message);
}
So it is not activated, but it can knock a double-click,
OnNcCalcSize after size set here will not make a sound, but haven't got the mouse message, I want to use the shadow window is to adjust the size of the main window,
I put my shadow window rectangle as the main window rectangle set OnEraseBkgnd in the main window, DeflateRect migration and fill, let the shadow show, this is quite perfect, but a Word, the visual these programs they like do not do so,
Will you please tell me, I really look up for a long time, otherwise I will not for so many methods, thank you!!!
CodePudding user response: