3
如何用GDI繪製透明橢圓?我試過SetBkMode()
,但我仍然得到一個白色的橢圓bk。透明橢圓
case WM_PAINT:
{
hdc = BeginPaint(hwnd, &ps);
SetBkMode(hdc, TRANSPARENT); // doesnt work
Ellipse(hdc, 0,0,500,500);
EndPaint(hwnd, &ps);
break;
}