drawing a circle with FW_Box
Posted: Wed Oct 02, 2024 11:35 am
I draw a red circle but the border is allways black...why ?
hBrush := CreateSolidBrush(RGB(255, 28, 36))
SelectObject(hDC, hBrush)
FW_Box( hDC, { nX, nY, nX + nSize, nY + nSize }, hBrush, hBrush, , 2 )
I tried also with
FW_Box( hDC, { nX, nY, nX + nSize, nY + nSize }, RGB(243, 101, 108), RGB(243, 101, 108), , 2 )
where is the error ?