🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Desktop

#16714
From: Remy Lebeau (TeamB)
Date: Thu, 01 May 2003 06:04
18 lines
1755 bytes
"Diederik" <diederik@noos.fr> wrote in message
news:3eb0a068$1@newsgroups.borland.com...

> In fact I can switch to my newly created desktop.
> The problem is that I have nothing(no windows)
> on this new desktop.

Nor should you yet.  All you have done so far is create a new empty desktop.
In order to actually display anything on it, you have to create your windows
within its context.  Look at the CreateWindowStation(),
SetProcessWindowStation() and SetThreadDesktop() functions as well.  Once
you have one of your process's threads associated with your new desktop, any
windows that you create in the context of that thread should appear inside
your desktop.


Gambit
Technical Details
Message-ID: <3eb0b88d$2@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!216.166.71.118.MISMATCH!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3eb04583$1@newsgroups.borland.com> <3eb048b2$1@newsgroups.borland.com> <3eb0a068$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,474d5e404a5bdf2f
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-04-30 23:11:15 PST
From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3eb04583$1@newsgroups.borland.com> <3eb048b2$1@newsgroups.borland.com> <3eb0a068$1@newsgroups.borland.com>
Subject: Re: Desktop
Date: Wed, 30 Apr 2003 23:04:19 -0700
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 207.175.226.26
Message-ID: <3eb0b88d$2@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1051768973 207.175.226.26 (30 Apr 2003 23:02:53 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!216.166.71.118.MISMATCH!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail