Article View: borland.public.cppbuilder.nativeapi
Article #11563Switch App to new Desktop
From: zegi
Date: Thu, 05 Feb 2004 11:26
Date: Thu, 05 Feb 2004 11:26
24 lines
1444 bytes
1444 bytes
Hi I'm writing a desktopswitch-application and I should switch an application from the first desktop to the next. -> The application should appear in the next desktop. How can I do this ???? im using the following code : ThisDesktop=CreateDesktop(DesktopName,NULL,NULL,0,GENERIC_ALL,NULL); ThisWinStation=CreateWindowStation(WinStationName,NULL,dwAccessAll,NULL); SetThreadDesktop(ThisDesktop); SwitchDesktop(ThisDesktop); SetProcessWindowStation(ThisWinStation); Zegi
Technical Details
Message-ID:
<402227d5@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news-hog.berkeley.edu!ucberkeley!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,21fd6f1b829e761b,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-02-05 03:27:52 PST Date: Thu, 05 Feb 2004 12:26:30 +0100 From: zegi <zegi@morphochem.de> User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Switch App to new Desktop Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 212.89.121.249 Message-ID: <402227d5@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1075980245 212.89.121.249 (5 Feb 2004 03:24:05 -0800) Lines: 24 Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news-hog.berkeley.edu!ucberkeley!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail