2020年12月24日
摘要: 使用Win32的API接口,实现的窗口动画:淡入淡出、中心展开或收缩、滑动滚入或滚出。 bool AnimateWindow(IntPtr hWnd, int dwTime, int dwFlags); 编写如下代码: /// <summary> /// 从左到右滚动窗口,与AW_SLIDE一起时变 阅读全文
posted @ 2020-12-24 20:54 云梦鸿 阅读(851) 评论(0) 推荐(0) 编辑
摘要: 利用Win332的API: bool GetWindowRect(IntPtr hWnd, ref RECT_INFO lpRect); 获取指定窗体或控件,在屏幕内地位置信息。 using System; using System.Runtime.InteropServices; namespac 阅读全文
posted @ 2020-12-24 20:07 云梦鸿 阅读(2531) 评论(0) 推荐(0) 编辑