🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Creating toolbar using CreateWindowEx()

#421
From: Remy Lebeau (TeamB)
Date: Thu, 10 Apr 2008 20:39
18 lines
1561 bytes
"Renald Yazmir" <renald@partmaker.com> wrote in message 
news:47fe6fee$1@newsgroups.borland.com...

> When I open a child window it does not know about
> existence of toolbar. The child window overlaps the toolbar.
>
> How do make a child window aware of toolbar?
>
> So when I drag a child window towards a toolbar it will
> stop when it hits a toolbar.

Sounds like you are not resizing your main frame's MDICLIENT window to 
account for the toolbar.  MDI children are hosted inside the MDICLIENT 
window, not inside the main frame's window directly.


Gambit 
Technical Details
Message-ID: <47fe7b08$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <47fe6fee$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,f3bfe5ab5c553613
X-Google-Attributes: gid10cc67,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <47fe6fee$1@newsgroups.borland.com>
Subject: Re: Creating toolbar using CreateWindowEx()
Date: Thu, 10 Apr 2008 13:39:34 -0700
Lines: 20
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: <47fe7b08$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1207859976 207.178.157.90 (10 Apr 2008 13:39:36 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail