Shasha писал(а):... заголовок не показывается ... как убрать заголовок ...
Option Explicit
Private Declare Function CreateRectRgn Lib "gdi32.dll" (ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long) As Long
Private Declare Function SetWindowRgn Lib "user32.dll" (ByVal hWnd As Long, ByVal hRgn As Long, ByVal bRedraw As Boolean) As Long
Private Sub Form_Load()
With Me
.BorderStyle = vbFixedSingle
.Caption = "Some title"
End With
Dim hRgn As Long
hRgn = CreateRectRgn(0, 30, 150, 130)
Call SetWindowRgn(Me.hWnd, hRgn, True)
End Sub
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 4