🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Creating toolbar using CreateWindowEx()

#423
From: Remy Lebeau (TeamB)
Date: Thu, 10 Apr 2008 21:47
17 lines
1782 bytes
"Renald Yazmir" <renald@partmaker.com> wrote in message 
news:47fe7fad$1@newsgroups.borland.com...

> Can you tell me how to resize MDICLIENT to account for toolbar?

The fact that you are calling CreateWindowEx() manually, and posting this 
question to the .nativeapi group, suggests that you are creating your HWNDs 
using the Win32 API manually instead of using the VCL, is that right?  If 
so, then you would have had to call CreateWindow/Ex(..., 'MDICLIENT', ...) 
to create the MDICLIENT window first before you can create MDI child 
windows.  Simply pass the MDICLIENT's HWND to SetWindowPos() to move it 
around the main frame as needed.  MDI child windows cannot appear outside of 
the MDICLIENT's area.


Gambit 
Technical Details
Message-ID: <47fe8b15@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news2.arglkargh.de!news.n-ix.net!news.belwue.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <47fe6fee$1@newsgroups.borland.com> <47fe7b08$1@newsgroups.borland.com> <47fe7fad$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> <47fe7b08$1@newsgroups.borland.com> <47fe7fad$1@newsgroups.borland.com>
Subject: Re: Creating toolbar using CreateWindowEx()
Date: Thu, 10 Apr 2008 14:47:55 -0700
Lines: 19
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: <47fe8b15@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1207864085 207.178.157.90 (10 Apr 2008 14:48:05 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news2.arglkargh.de!news.n-ix.net!news.belwue.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail