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.
精彩评论