DuiLibフレームレスウィンドウのwin 10での最小化/復元の特効が消えるという問題は、本当のフレームレスウィンドウで実現


くどくどしないで、直接コードをつけます
int ProcNCCalcSize(UINT message, WPARAM wParam, LPARAM lParam)
{
	int xFrame = 0; /*       */
	int yFrame = 0; /*      */
	int nTHight = 0; /*      */
	NCCALCSIZE_PARAMS * p;
	RECT * rc;


	RECT aRect;
	RECT bRect;
	RECT bcRect;

		

	if (wParam == TRUE)
	{
		p = (NCCALCSIZE_PARAMS *)lParam; /*   B A AC,     BC B A*/


		CopyRect(&aRect, &p->rgrc[1]);
		CopyRect(&bRect, &p->rgrc[0]);


		//                 
		if (bRect.left < 0)
		{
			bRect.right += bRect.left;
			bRect.left = 0;
		}

		if (bRect.top < 0)
		{
			bRect.bottom += bRect.top;
			bRect.top = 0;
		}

		/*  BC      */
		bcRect.left = bRect.left + xFrame;
		bcRect.top = bRect.top + nTHight;
		bcRect.right = bRect.right - xFrame;
		bcRect.bottom = bRect.bottom - yFrame;


		/*      */
		CopyRect(&p->rgrc[0], &bcRect);
		CopyRect(&p->rgrc[1], &bRect);
		CopyRect(&p->rgrc[2], &aRect);
	}
	else
	{
		rc = (RECT *)lParam;


		rc->left = rc->left + xFrame;
		rc->top = rc->top + nTHight;
		rc->right = rc->right - xFrame;
		rc->bottom = rc->bottom - yFrame;
	}
	return GetLastError();
}