答案:
椭圆形的窗体 |
Private Declare Function CreateEllipticRgn Lib "Gdi32" (ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long)As Long Private Declare Function SetWindowRgn Lib "User32" (ByVal hWnd As Long, ByVal hRgn As Long, ByVal bRedraw As Boolean) As Long Private Sub Form_Load() SetWindowRgn hWnd, CreateEllipticRgn(0, 0, 300, 200), True End Sub |
上一个:去掉窗体的关闭按钮
下一个:透明的窗体(From)上显示背景透通图