🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

MFC question

Started by
0 comments, last by frizb 24 years, 7 months ago

Can someone please show me an example of how to use CRect::Normalize and CRect::Union. I'm not sure how to convert the rect object when it has negative values(ie- -10,-10, -15, -15). I've read the online help but it doesn't give an example for it. Thanks in advance! friz

------------------
Still Learning...

Still Learning...
Advertisement
try use abs function or something like that.

like :

x= -10
y=abs(x)

y=10
You can use it with params too.

This topic is closed to new replies.

Advertisement