再在
Private Sub UserForm_Initialize()
Dim IStyle As Long, hWnd As Long
hWnd = FindWindow("ThunderDFrame", Me.Caption)
IStyle = GetWindowLong(hWnd, GWL_STYLE)
IStyle = IStyle And Not WS_CAPTION
SetWindowLong hWnd, GWL_STYLE, IStyle
DrawMenuBar hWnd
IStyle = WS_EX_LEFT Or WS_EX_LTRREADING Or WS_EX_RIGHTSCROLLBAR
IStyle = GetWindowLong(hWnd, GWL_EXSTYLE) And Not IStyle
SetWindowLong hWnd, GWL_EXSTYLE, IStyle
End sub