🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Always On Top

#13945
From: Remy Lebeau (TeamB)
Date: Tue, 09 Sep 2003 16:54
24 lines
1651 bytes
"Mike King" <emailMK@excite.com> wrote in message
news:3f5df558@newsgroups.borland.com...
> How can I keep an application always on top?  I have tried
> SetWindowPos(...) but it only keeps a window within the
> application on top.

SetWindowsPos() is the correct function to use, and it does work to keep a
window on top of other windows regardless of application, so I would suspect
your use of it is incorrect.

> I want the same functionality that the Windows Taskbar has
> by default.

The Taskbar is an AppBar, is it not a normal window.


Gambit


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.515 / Virus Database: 313 - Release Date: 9/1/03
Technical Details
Message-ID: <3f5e05b8$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3f5df558@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,1acbe53880abfff
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-09-09 10:04:03 PST
From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f5df558@newsgroups.borland.com>
Subject: Re: Always On Top
Date: Tue, 9 Sep 2003 09:54:52 -0700
Lines: 26
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: <3f5e05b8$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1063126456 207.175.226.26 (9 Sep 2003 09:54:16 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail