2 questions: @ x, y bitmap and draw rectangle

Post Reply
User avatar
Maurilio Viana
Posts: 252
Joined: Tue Oct 25, 2005 2:48 pm
Location: Garça/Garza/Heron City - Brazil
Contact:

2 questions: @ x, y bitmap and draw rectangle

Post by Maurilio Viana »

1 - When I paint a bitmap in a dialog with @ x, y bitmap command it appears into a rectangle. How can I hide this border were the bitmap is painted?

2 - How can I draw a rectangle in a dialog or window? How can I fill it with a color?

I did this:
define pen oPen width 1.5 color CLR_BLUE
Rectangle(oDlg:hDC, 35, 68, 200, 318, oPen:hPen)

This way I can change the border color according with color of pen but I couldn't fill the rectangle with any color else white.

Regards,
Maurilio
User avatar
Maurilio Viana
Posts: 252
Joined: Tue Oct 25, 2005 2:48 pm
Location: Garça/Garza/Heron City - Brazil
Contact:

Re: 2 questions: @ x, y bitmap and draw rectangle

Post by Maurilio Viana »

Thanks a lot, Enrico!
I'll try it!

Regards,
Maurilio
Post Reply