VB自动关闭提示
2022-7-16 乱云飞
Private Declare Function MsgBoxEx Lib "user32" Alias "MessageBoxTimeoutA" _
(ByVal hWnd As Long, ByVal lpText As String, ByVal lpCaption As String, ByVal _
wType As VbMsgBoxStyle, ByVal wlange As Long, ByVal dwTimeout As Long) As Long '声明
Private Sub Command1_Click()
MsgBoxEx 0, "保存成功", "2秒后自动关闭", vbInformation, 1, 1500
End Sub
本文链接:http://80c.cc/ez/550.html
发表评论: