标题:调用AnimateWindow函数怎么没反应啊??
只看楼主
食人蛇
Rank: 1
等 级:新手上路
帖 子:23
专家分:0
注 册:2006-7-15
 问题点数:0 回复次数:0 
调用AnimateWindow函数怎么没反应啊??
Public Declare Auto Function AnimateWindow Lib "user32" (ByVal hwnd As IntPtr, ByVal dwtime As Integer, ByVal dwflag As Integer) As Boolean
Public Const AW_HOR_POSITIVE = &H1
Public Const AW_HOR_NEGATIVE = &H2
Public Const AW_VER_POSITIVE = &H4
Public Const AW_VER_NEGATIVE = &H8
Public Const AW_CENTER = &H10
Public Const AW_HIDE = &H10000
Public Const AW_ACTIVATE = &H20000
Public Const AW_SLIDE = &H40000
Public Const AW_BLEND = &H80000

然后
Private Sub form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
AnimateWindow(Me.Handle, 5000, AW_BLEND Or AW_ACTIVATE)
End Sub

所有书上都是这么写的,但没任何反应,哪里错了呢?
搜索更多相关主题的帖子: 函数 
2006-07-29 10:29



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-80878-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.050540 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved