研发埠

标题: 如何利用API函数让窗体的标题条闪烁? [打印本页]

作者: 亮    时间: 2013-7-2 14:00
标题: 如何利用API函数让窗体的标题条闪烁?

作者: 淡写轻描    时间: 2013-7-2 14:06
'API函数声明Private Declare Function FlashWindow Lib "user32" (ByVal hwnd As Long, ByVal bInvert As Long) As Long'在窗体中写下如下代码rivate Sub Form_Load()Me.TimerInterval = 200End SubPrivate Sub Form_Timer()FlashWindow Me.hwnd, True End Sub




欢迎光临 研发埠 (http://bbs.yanfabu.com/) Powered by Discuz! X3.2