如题

解决方案 »

  1.   

    Dim wStyle As Long
        Dim Rc As Long
        
        wStyle = GetWindowLong(Me.hwnd, GWL_STYLE)
        wStyle = wStyle And WS_BORDER
        
        Rc = SetWindowLong(hwnd, GWL_STYLE, wStyle)试试看
      

  2.   

    Dim wStyle As Long
        Dim Rc As Long
        
        wStyle = GetWindowLong(Me.hwnd, GWL_STYLE)
        wStyle = wStyle Or WS_BORDER
        
        Rc = SetWindowLong(hwnd, GWL_STYLE, wStyle)试试看(窃取 ClassicWuHao(Mouse) 的,呵呵)