🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

SetWindowPos and topmost windows

#3007
From: Simon Elliott
Date: Sat, 09 Sep 2006 15:49
18 lines
1491 bytes
Hi

I'm developing a kiosk application which is composed of seveal
co-operating apps and which runs along with the powerpoint viewer.

At various times forms created by the apps (and the powerpoint viewer)
need to be visible, and a futher set of forms need to be always visible
no matter what.

I've achieved the latter by using the SetWindowsPos() API to put the
forms always on top via HWND_TOPMOST.

Looking at the docs for SetWindowsPos, there are two Z orders, one for
topmost windows, and one for all other windpws. It would be VERY
convenient to be able to set a form as a topmost form, but at the
bottom of the Z order for topmost forms.

Any thoughts?
Technical Details
Message-ID: <4502e2a6@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,3210aba55c0df695,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Simon Elliott" <Simon at ctsn.co.uk>
Subject: SetWindowPos and topmost windows
Newsgroups: borland.public.cppbuilder.nativeapi
Reply-To: "Simon Elliott" <News at ctsn.co.uk>
User-Agent: XanaNews/1.17.4.1
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
NNTP-Posting-Host: 82.152.41.49
Message-ID: <4502e2a6@newsgroups.borland.com>
Date: 9 Sep 2006 08:49:58 -0700
X-Trace: newsgroups.borland.com 1157816998 82.152.41.49 (9 Sep 2006 08:49:58 -0700)
Lines: 19
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail