Private Declare Function SetWindowLong Lib "user32" Alias "SetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long 
    Private Declare Function GetWindowLong Lib "user32" Alias "GetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long) As Long 
    Const GWL_STYLE = (-16) 
    Const WS_CAPTION = &HC00000 
     
    Private Sub MDIForm_Load() 
     Dim L As Long 
     L = GetWindowLong(Me.hwnd, GWL_STYLE) 
     L = L And Not (WS_CAPTION) 
     L = SetWindowLong(Me.hwnd, GWL_STYLE, L) 
    End Sub 
<END>