首页上一页 1 下一页尾页 1 条记录 1/1页
关于添加【microsoft animation Control 6.0(SP4) COM组件】的问题
发表在C#图书答疑
2009-05-15
是否精华
是
否
版块置顶:
是
否
请问:
1、在《c#程序开发范例宝典》实例035 动画形式的程序界面中,我怎么找不到microsoft animation Control 6.0(SP4) COM组件,并且生成的exe也运行不起,提示“LeadWindws遇到问题需要关闭,我们对此引起的不便表示抱歉,如果你正处于进程中,信息有可能丢失!”,请问是怎么回事,谢谢!
另外,请问添加.Net组件和com组件时,组件很多,有没有什么快速查找的技巧!
2、API问题:[DllImportAttribute("user32.dll")]
private static extern bool AnimateWindow(IntPtr hwnd, int dwTime, int dwFlags);
能否解释一下参数【int dwFlags】,以及
public const Int32 AW_HOR_POSITIVE = 0x00000001;
public const Int32 AW_HOR_NEGATIVE = 0x00000002;
public const Int32 AW_VER_POSITIVE = 0x00000004;
public const Int32 AW_VER_NEGATIVE = 0x00000008;
public const Int32 AW_CENTER = 0x00000010;
public const Int32 AW_HIDE = 0x00010000;
public const Int32 AW_ACTIVATE = 0x00020000;
public const Int32 AW_SLIDE = 0x00040000;
public const Int32 AW_BLEND = 0x00080000;
AnimateWindow(this.Handle, 300, AW_SLIDE + AW_VER_NEGATIVE);
AnimateWindow(this.Handle, 300, AW_SLIDE + AW_VER_NEGATIVE + AW_HIDE);
谢谢!
1、在《c#程序开发范例宝典》实例035 动画形式的程序界面中,我怎么找不到microsoft animation Control 6.0(SP4) COM组件,并且生成的exe也运行不起,提示“LeadWindws遇到问题需要关闭,我们对此引起的不便表示抱歉,如果你正处于进程中,信息有可能丢失!”,请问是怎么回事,谢谢!
另外,请问添加.Net组件和com组件时,组件很多,有没有什么快速查找的技巧!
2、API问题:[DllImportAttribute("user32.dll")]
private static extern bool AnimateWindow(IntPtr hwnd, int dwTime, int dwFlags);
能否解释一下参数【int dwFlags】,以及
public const Int32 AW_HOR_POSITIVE = 0x00000001;
public const Int32 AW_HOR_NEGATIVE = 0x00000002;
public const Int32 AW_VER_POSITIVE = 0x00000004;
public const Int32 AW_VER_NEGATIVE = 0x00000008;
public const Int32 AW_CENTER = 0x00000010;
public const Int32 AW_HIDE = 0x00010000;
public const Int32 AW_ACTIVATE = 0x00020000;
public const Int32 AW_SLIDE = 0x00040000;
public const Int32 AW_BLEND = 0x00080000;
AnimateWindow(this.Handle, 300, AW_SLIDE + AW_VER_NEGATIVE);
AnimateWindow(this.Handle, 300, AW_SLIDE + AW_VER_NEGATIVE + AW_HIDE);
谢谢!