Article View: borland.public.cppbuilder.nativeapi
Article #422Re: Creating toolbar using CreateWindowEx()
From: Renald Yazmir
Date: Thu, 10 Apr 2008 21:59
Date: Thu, 10 Apr 2008 21:59
26 lines
1831 bytes
1831 bytes
Can you tell me how to resize MDICLIENT to account for toolbar? Thank you Rony. "Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message news:47fe7b08$1@newsgroups.borland.com... > > "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:
<47fe7fad$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder.news-service.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<47fe6fee$1@newsgroups.borland.com> <47fe7b08$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 Reply-To: "Renald Yazmir" <renald@partmaker.com> From: "Renald Yazmir" <renald@partmaker.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <47fe6fee$1@newsgroups.borland.com> <47fe7b08$1@newsgroups.borland.com> Subject: Re: Creating toolbar using CreateWindowEx() Date: Thu, 10 Apr 2008 16:59:31 -0500 Lines: 28 Organization: IMCS Inc 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: 66.106.28.123 Message-ID: <47fe7fad$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1207861165 66.106.28.123 (10 Apr 2008 13:59:25 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder.news-service.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail