extern void DrawWindowFrame(HWND hWnd)//画窗口边框 { RECT rc; HWND DeskHwnd = ::GetDesktopWindow(); //取得桌面句柄 HDC DeskDC = ::GetWindowDC(DeskHwnd); //取得桌面设备场景 int oldRop2 = SetROP2(DeskDC, R2_NOTXORPEN); ::GetWindowRect(hWnd, &rc); //获得窗口矩形 ) rc.left = ; )…