如何使类似的Mac OS动画的winform打开? [英] How to make a winform open like Mac OS animation?
问题描述
可以在任何一个可以告诉我怎么能打开一个形式类似于由Mac-OS发射中使用的动画。我已经看到了一些其他的软件做同样的事情。对于如:这的YouTube视频也显示了它(@time演示:20秒, @time:28秒)
Could any one tell how can I open a form with an animation similar to the one used by Mac-OS launcher. I have seen a few other software doing the same thing. For eg: This youtube video also shows a demo of it (@Time: 20 sec and @Time: 28 sec).
我知道 animateWindow
API的,但我认为这是不可能的 animateWindow
。
I know of animateWindow
API, but I think this is not possible with animateWindow
.
这是如何做到这一点任何想法?
Any idea on how to do this?
推荐答案
AnimateWindow不适合该法案。
AnimateWindow won't fit the bill.
在我看来,这节目由
- 当需要时,在计算图标显示创建一个透明窗口
- 创建动画和透明窗口的设备上下文中显示它
- 处理的所有通过自定义事件窗口。
- Creating a transparent window when needed, while computing icons to display
- Creating the animation and displaying it on the transparent window device context
- Handling everything on the window via custom events.
您需要的是
- GDI32的COM prehensive知识
- 用于以编程方式创建动画的卑鄙手段同样COM prehensive知识。
我很抱歉,但我认为这是不样的话题可以在一个单一的答案简要说明:-(
I'm sorry, but I think that this is not the kind of topic that can briefly explained on a single answer :-(
最后,你需要的东西,增强和扩展了Windows自带的图形处理能力。有迹象表明,这样做之前,公司:IIRC Serif.com没有写自己的GDI更换为自己的DTP程序,我认为所有的这些公司,使桌面增强做了同样的(或至少,他们的了解拿捏GDI32功能)
Eventually, you need something that augments and extends Windows's native graphic capabilities. There are companies that did this before: IIRC Serif.com did write their own GDI replacement for their DTP programs, and I think that all of these companies that make desktop enhancements did the same (or at least, they know how to squeeze GDI32 capabilities)
这篇关于如何使类似的Mac OS动画的winform打开?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!