Hello! I need to draw two (half overlapped) rectangles in Visual C++ 6.0. Please tell me how to write the Window Procedure to carry out this task ?
Below is the link to the screenshot of required rectangles:
http://www.geocities.com/laddukararay/re...
Thanks!
How to draw a rectangle in a window using Visual C++ 6.0?
if using mfc then in the onpaint method
you need to call pDC-%26gt;FillRect and FrameRect a couple of times
with different co-ordinates
if using raw sdk then you need to hook into the wm_paint message and get the dc and again call the above 2 functions.
have a look on m'softs msdn site
Reply:use a sharpie
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment