🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to make a window at *runtime* topmost via:-SetWindowPos() & UpdateWindow()

#5478
From: Remy Lebeau (TeamB)
Date: Thu, 18 Aug 2005 21:00
14 lines
1553 bytes
"Oren Halvani" <xx@xx.com> wrote in message
news:4304ee10@newsgroups.borland.com...

> because, if i'm setting the main-window as topmost, the option
> window will be in the background, it has to be in the foreground
> (even after the user has clicked the foreground-checkbox)

Why are you making your options window top-most at all?  If the main window
is top-most, showing the options window modally will automatically show it
on top of the main widow without actually making it a top-most window.


Gambit
Technical Details
Message-ID: <4304f6ce$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <43033a7e$1@newsgroups.borland.com> <430382c4$1@newsgroups.borland.com> <4304d052@newsgroups.borland.com> <4304d9be$1@newsgroups.borland.com> <4304ee10@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,175ffbbcf7a4552c
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <43033a7e$1@newsgroups.borland.com> <430382c4$1@newsgroups.borland.com> <4304d052@newsgroups.borland.com> <4304d9be$1@newsgroups.borland.com> <4304ee10@newsgroups.borland.com>
Subject: Re: How to make a window at *runtime* topmost via:-SetWindowPos() & UpdateWindow()
Date: Thu, 18 Aug 2005 14:00:10 -0700
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <4304f6ce$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1124398798 68.69.17.41 (18 Aug 2005 13:59:58 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail