🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.nativeapi
2 messages
2 total messages Started by Renald Yazmir Wed, 16 Jan 2008 19:02
How to prevent child window from moving
#718
Author: Renald Yazmir
Date: Wed, 16 Jan 2008 19:02
13 lines
1219 bytes
Hello



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.



Thank you
Re: How to prevent child window from moving
#719
Author: 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 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads