Questo sito utilizza cookies solo per scopi di autenticazione sul sito e nient'altro. Nessuna informazione personale viene tracciata. Leggi l'informativa sui cookies.
Username: Password: oppure
Form non rettangolari - Form non rettangolari.bas

Form non rettangolari.bas

Caricato da: Roberto VB
Scarica il programma completo

  1. Attribute VB_Name = "Module1"
  2. Type POINTAPI
  3.     X As Long
  4.     Y As Long
  5. End Type
  6. Type RECT
  7.     Left As Long
  8.     Top As Long
  9.     Right As Long
  10.     Bottom As Long
  11. End Type
  12.  
  13. Declare Function CreateEllipticRgn Lib "gdi32" (ByVal X1 As Long, _
  14.     ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long) As Long
  15. Declare Function CreatePolygonRgn Lib "gdi32" (lpPoint As POINTAPI, _
  16.     ByVal nCount As Long, ByVal nPolyFillMode As Long) As Long
  17. Declare Function CreateRoundRectRgn Lib "gdi32" (ByVal X1 As Long, _
  18.     ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long, ByVal X3 As Long, _
  19.     ByVal Y3 As Long) As Long
  20. Declare Function GetWindowRect Lib "user32" (ByVal hWnd As Long, _
  21.     lpRect As RECT) As Long
  22. Declare Function SetWindowRgn Lib "user32" (ByVal hWnd As Long, _
  23.     ByVal hRgn As Long, ByVal bRedraw As Long) As Long
  24. Declare Function DeleteObject Lib "gdi32" (ByVal hObject As Long) As Long