🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: rememeber the position and size of the window

#4093
From: Tom
Date: Tue, 14 Mar 2006 17:33
27 lines
1641 bytes
ok, thanks.

Tom



Remy Lebeau (TeamB) wrote:
> "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: <4416fe4d$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <4415be37$1@newsgroups.borland.com> <4415e8ae$2@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
Date: Tue, 14 Mar 2006 18:33:18 +0100
From: Tom <tom@net.com>
Reply-To:  tom@net.com
User-Agent: Thunderbird 1.5 (Windows/20051201)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: rememeber the position and size of the window
References: <4415be37$1@newsgroups.borland.com> <4415e8ae$2@newsgroups.borland.com>
In-Reply-To: <4415e8ae$2@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 213.202.96.83
Message-ID: <4416fe4d$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1142357581 213.202.96.83 (14 Mar 2006 09:33:01 -0700)
Lines: 27
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail