🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Creating toolbar using CreateWindowEx()

#427
From: Renald Yazmir
Date: Fri, 11 Apr 2008 21:57
24 lines
2017 bytes
It works.

Thank you very much!

"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message 
news:47fe8b15@newsgroups.borland.com...
>
> "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: <47ffd0bb$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!194.25.134.126.MISMATCH!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> <47fe8b15@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> <47fe7fad$1@newsgroups.borland.com> <47fe8b15@newsgroups.borland.com>
Subject: Re: Creating toolbar using CreateWindowEx()
Date: Fri, 11 Apr 2008 16:57:34 -0500
Lines: 26
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: <47ffd0bb$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1207947451 66.106.28.123 (11 Apr 2008 13:57:31 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail