| Platform SDK: DirectX |
The DirectDrawSurface7.DrawRoundedBox method draws a rounded box on the surface.
object.DrawRoundedBox( _
x1 As Long, _
y1 As Long, _
x2 As Long, _
y2 As Long, _
rw As Long, _
rh As Long)
If the method fails, it raises an error, and Err.Number is set.
The default draw style is a solid line, and the default fill style is set to transparent. Both styles can be changed with a call to DirectDrawSurface7.SetDrawStyle and DirectDrawSurface7.SetFillStyle, respectively.