🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: rememeber the position and size of the window

#4180
From: Remy Lebeau (TeamB)
Date: Mon, 13 Mar 2006 21:41
19 lines
1509 bytes
"Tom" <tom@net.com> wrote in message
news:4415be37$1@newsgroups.borland.com...

> in Windows when I hold Ctrl key while closing application,
> windows remember the position and size of application

That behavior is not native to Windows.  That kind of functionality is
implemented on a per-application basis.

> I'm wondering can I implement this to my application, so I don't have
> to write code OnClose to save position in Registry and on OnCreate
> to load information from Registry.

Sorry, but that is exactly what you have to do.  That is what every other
application does.


Gambit
Technical Details
Message-ID: <4415e8ae$2@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4415be37$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,7028b9dfa8557fad
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4415be37$1@newsgroups.borland.com>
Subject: Re: rememeber the position and size of the window
Date: Mon, 13 Mar 2006 13:41:34 -0800
Lines: 21
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <4415e8ae$2@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1142286510 68.69.17.41 (13 Mar 2006 13:48:30 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail