🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Want to change position of standard dialogs

#13050
From: Timothy H. Buchman
Date: Fri, 31 Oct 2003 17:31
23 lines
2060 bytes
"Robert Schimpfle" <schi2401@uni-trier.de> wrote in message
news:3FA17CBA.B471BFE8@uni-trier.de...
> I used MoveWindow, but it did not work...
>
> Anybody who has already done it?
> I would appreciate a few lines of C++ code for this problem?

This is more or less an established technology.  In fact, the VCL has
to do the centering itself in the earlier versions of Windows and BCB.

Here's a page that simply answers your question:
http://thunder.prohosting.com/~cbdn/cd002.htm

If you derive your own descendant, you can override DoShow.  Here's a
more complicated example of that:
http://home.att.net/~secondcut/opdlgvcl.htm

--
Timothy H. Buchman
========================================
City Center Theater, New York NY
mail address tbuchmanPLEASE(at sign)REMOVEcitycenterD O Torg
Search .borland message archive on http://www.mers.com/searchsite.html
Technical Details
Message-ID: <3fa29ce3$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!peernews3.colt.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3FA01311.62845116@uni-trier.de> <3fa01ca8$1@newsgroups.borland.com> <3FA17CBA.B471BFE8@uni-trier.de>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,5023092a61a6c0b9
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-10-31 09:39:50 PST
From: "Timothy H. Buchman" <tbuchmanREMOVE(at)PLEASEcitycenter D O To r  g>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3FA01311.62845116@uni-trier.de> <3fa01ca8$1@newsgroups.borland.com> <3FA17CBA.B471BFE8@uni-trier.de>
Subject: Re: Want to change position of standard dialogs
Date: Fri, 31 Oct 2003 12:31:21 -0500
Lines: 24
MIME-Version: 1.0
Content-Type: text/plain;
 charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: 68.167.66.70
Message-ID: <3fa29ce3$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1067621603 68.167.66.70 (31 Oct 2003 09:33:23 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!peernews3.colt.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail