Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Transparent Rectangle
Message
 
To
03/06/2003 17:29:22
General information
Forum:
Visual C++
Category:
Other
Miscellaneous
Thread ID:
00795934
Message ID:
00796972
Views:
19
Wilson,

You can draw rectange or ellipse with NULL brush:

CBrush* pOldBrush = pDC->SelectStockObject(NULL_BRUSH);
pDC->Rectangle(rect);
pDC->SelectObject(pOldBrush);

>I am drawing a rectangle with the CClientDC in form, how can i draw it transparent.
>
>this also apply to the Ellipse method.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform