How can i draw a rectangle with colorless inner?

Started by
2 comments, last by wah_on_2 22 years ago
How can i draw a rectangle with colorless inside the rectangle using WinAPI? Thanks
Advertisement
draw 4 lines OR select this brush into your device context, GetStockObject(NULL_BRUSH) and draw your Rectangle
Great! I total forgot i can draw 4 lines to represent a rectangle.

How can i change the current brush to GetStockObject(NULL_BRUSH)?
how ''bout this, don''t create a brush at all, does the same thing. And then just use the Rect() function to draw your rectangle.

-AJ

C:\DOS
C:\DOS\RUN
RUN\DOS\RUN

-Comic Book Store Guy''s t-shirt that I saw on the Simpsons, although it didn''t actually come from the Simpsons.

http://vdsoft.netfirms.com/home.html
C:DOSC:DOSRUNRUNDOSRUN-Comic Book Store Guy's t-shirt that I saw on the Simpsons, although it didn't actually come from the Simpsons.http://vdsoft.netfirms.com/home.html

This topic is closed to new replies.

Advertisement