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
2 questions: @ x, y bitmap and draw rectangle
- Maurilio Viana
- Posts: 252
- Joined: Tue Oct 25, 2005 2:48 pm
- Location: Garça/Garza/Heron City - Brazil
- Contact:
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: 2 questions: @ x, y bitmap and draw rectangle
1) Use NOBORDER clause.
2) Try FloodFill( nRow, nCol, nRGBColor ) method.
EMG
2) Try FloodFill( nRow, nCol, nRGBColor ) method.
EMG
- 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
Thanks a lot, Enrico!
I'll try it!
Regards,
Maurilio
I'll try it!
Regards,
Maurilio