🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to prevent child window from moving

#719
From: Remy Lebeau (TeamB)
Date: Wed, 16 Jan 2008 21:39
15 lines
1449 bytes
"Renald Yazmir" <renald@partmaker.com> wrote in message 
news:478e54b2$1@newsgroups.borland.com...

> I would like to prevent child window from moving in the specific
> area of the parent window.
>
> When I move the child window by the title bar I want it to stop
> when I decide to.

Intercept the WM_WINDOWPOSCHANGING message and manipulate the provided 
WINDOWPOS struct as needed.


Gambit 
Technical Details
Message-ID: <478e7964@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <478e54b2$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,b09268916141bb07
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <478e54b2$1@newsgroups.borland.com>
Subject: Re: How to prevent child window from moving
Date: Wed, 16 Jan 2008 13:39:41 -0800
Lines: 17
Organization: Lebeau Software
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 207.178.157.90
Message-ID: <478e7964@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1200519524 207.178.157.90 (16 Jan 2008 13:38:44 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail