Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

wah_on_2

How can i draw a rectangle with colorless inner?

This topic is 6082 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
draw 4 lines OR select this brush into your device context, GetStockObject(NULL_BRUSH) and draw your Rectangle

Share this post


Link to post
Share on other sites
Great! I total forgot i can draw 4 lines to represent a rectangle.

How can i change the current brush to GetStockObject(NULL_BRUSH)?

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!