开发者

Desktop switching in vista

开发者 https://www.devze.com 2022-12-12 19:35 出处:网络
i have bulid an application in c# fro vista it loades in \"winlogon\" desktop when i logged on i want this application should s开发者_Python百科witch to \"deafult\" deasktop. how can i do this in c#

i have bulid an application in c# fro vista it loades in "winlogon" desktop when i logged on i want this application should s开发者_Python百科witch to "deafult" deasktop. how can i do this in c# Regards Ehtsham


I haven't tried this personally, but I imagine you would need to connect the app's main thread to the default desktop. Use the SetThreadDesktop API call to achieve this.

Have a look here for some useful information.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号