During creation of an application's server-side thread the desktop that the thread executes in is opened.