as some of you might already know I am learning programming on my own for now, I've bumped into the function that draws a rectangle (I think) but I don't know how to implement it.......could anybody please show me an example of it?
This is all the book says.......
BOOL Rectangle ( HDC hdc, int nleftrect, int ntoprect, int nrightrect, int nbottomrect );
return nonzero on failure.....
could you please show me an example of how this could be used on a win32 program?