Drawing gradient rectangles and triangles

Windows has an API called GradientFill which helps us in drawing gradient rectangles and triangles. Note that it takes arguments in a generic manner, I leave that as a hint to you. Here is a helper function here which I use frequently to draw gradient rectangles. If you have queries feel free to comment. Performance […]
Continue reading…

 

Function return values live in VC watch window!

Ever felt the need to watch over return values from functions! Well I did always but unfortunately couldn’t come up with something! I was reading through one of John Robbins’ Bugslayer articles in MSDN and found an interesting tip related to seeing function parameters passed in by adding a watch statement over the ESP stack pointer […]
Continue reading…