🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #11252

Re: Problems using "SwitchDesktop"

#11252
From: Ted Byers
Date: Fri, 20 Feb 2004 20:38
17 lines
1506 bytes
"Remy Lebeau (TeamB)" <gambit47.no.spam@no.spam.yahoo.com> wrote in message
news:40366663$1@newsgroups.borland.com...
>
> [snip]
> Make sure you are associating the correct desktop with the calling thread,
> and that you are not creating the form until after you have switched
> desktops.
>
So, then, this code should go in function main, before the main form is
created, and that the code to switch back to the original desktop and free
the one I created should go in function main after the main form is closed
and released.  Right?

Thanks,

Ted
Technical Details
Message-ID: <40366f4a$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <403642b4$1@newsgroups.borland.com> <40366663$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,90c150c625365b29
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-02-20 12:40:22 PST
From: "Ted Byers" <r.ted.byers@sympatico.ca>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <403642b4$1@newsgroups.borland.com> <40366663$1@newsgroups.borland.com>
Subject: Re: Problems using "SwitchDesktop"
Date: Fri, 20 Feb 2004 15:38:40 -0500
Lines: 19
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 65.95.240.180
Message-ID: <40366f4a$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1077309258 65.95.240.180 (20 Feb 2004 12:34:18 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail