如何利用API函数让窗体的标题条闪烁以引起用户注意?
在窗体中放一个Timer控件Timer1,设置其Inteval=200*API函数声明Private Declare Function FlashWindow Lib "user32" (ByVal hwnd As Long, ByVal bInvert As Long) As Long注释:在窗体中写下如下代码:Private Sub Timer1_Timer() FlashWindow Me.hwnd, True End Sub
页:
[1]