简体   繁体   English

Windows App中的应用程序之间更平滑的过渡,C#

[英]Smoother Transition between application in windows app, c#

My application handles the startup and termination of external some application. 我的应用程序处理外部某些应用程序的启动和终止。 An inbuilt TaskBar is there to tab the applications that are started. 内置的TaskBar可以用来标记启动的应用程序。

Say when three applications are started, i map those 3 applications to the tabs created. 假设启动了三个应用程序,我将这三个应用程序映射到创建的选项卡。 So that the user can use the task bar to switch between the application. 这样用户可以使用任务栏在应用程序之间进行切换。 The default windows task bar will be replaced by my applications taskbar because it is a Kiosk application. 默认的Windows任务栏将由我的应用程序任务栏替换,因为它是一个Kiosk应用程序。

All these works fine... 所有这些都很好...

What i want to do is, the toggling between the applications is not smooth, which the user dosent like. 我想做的是,应用程序之间的切换并不流畅,用户对此很满意。 I want to make the change of applications smooth. 我想使应用程序的更改顺利进行。 I am using windows XP. 我正在使用Windows XP。

I am calling ShowWindowsAsync function to show the application when user clicks the respective tab. 我正在调用ShowWindowsAsync函数,以在用户单击相应选项卡时显示该应用程序。

How can i make the the visual effective using c# ? 我如何使用C#使视觉效果有效? Is there any possibility ? 有没有可能?

P/Invoke AnimateWindow() to get transitions. P /调用AnimateWindow()以获取过渡。 Visit pinvoke.net for the required declarations. 访问pinvoke.net获取所需的声明。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM