if (msg.message == WM_LBUTTONUP)
{
// check for snapping if was moved by caption
- if (hittest == HTCAPTION)
+ if (hittest == HTCAPTION && thickframe && (ExStyle & WS_EX_MDICHILD) == 0)
{
RECT snapRect;
BOOL doSideSnap = FALSE;
case HTBOTTOM:
{
RECT sizingRect = pWnd->rcWindow, mouseRect;
+
+ if (pWnd->ExStyle & WS_EX_MDICHILD)
+ break;
+
UserSystemParametersInfo(SPI_GETWORKAREA, 0, &mouseRect, 0);
co_WinPosSetWindowPos(pWnd,