Advertisement

Dx SDK tutorial help

Started by December 14, 2000 06:32 PM
-1 comments, last by OoMMMoO 24 years, 1 month ago
There is some code in the Stretch.cpp file of the DirectX 7 SDK tutorial, that I dont get. I get everything but this part //these are of course at the top of the file RECT destRect; POINT pt; //this is in the update frame function GetClientRect(hWnd, &destRect); if (destRect.right < 128) destRect.right = 64; if (destRect.bottom < 64) destRect.bottom = 64; pt.x = pt.y = 0; ClientToScreen(hWnd, &pt); OffsetRect(&destRect, pt.x, pt.y); can someone please explain what this code does?

This topic is closed to new replies.

Advertisement