🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Trouble with 'child' window

#12010
From: Remy Lebeau (TeamB)
Date: Mon, 05 Jan 2004 18:52
17 lines
1423 bytes
"Fernando" <frr@easyjob.net> wrote in message
news:5j1jvvk3tk9l83q9ljnksdbpi4vi9503m1@4ax.com...

> I need to make a window stay always on top of another
> window, but it shouldn't be a child window

Have a look at calling SetWindowPos() periodically.

> the user should be able to position the 'child' anywhere on the
> screen, not just on the area of the 'parent'

Then it cannot be a child to begin with, as child windows are never allowed
to leave the client area of their parent.


Gambit
Technical Details
Message-ID: <3ff9b12b$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <5j1jvvk3tk9l83q9ljnksdbpi4vi9503m1@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,bd6ee6689b8adfac
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-01-05 11:10:08 PST
From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <5j1jvvk3tk9l83q9ljnksdbpi4vi9503m1@4ax.com>
Subject: Re: Trouble with 'child' window
Date: Mon, 5 Jan 2004 10:52:54 -0800
Lines: 19
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: 67.22.138.253
Message-ID: <3ff9b12b$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1073328427 67.22.138.253 (5 Jan 2004 10:47:07 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail