🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.nativeapi
3 messages
3 total messages Started by Tom Mon, 13 Mar 2006 18:47
rememeber the position and size of the window
#4178
Author: Tom
Date: Mon, 13 Mar 2006 18:47
9 lines
1138 bytes
Hi,
in Windows when I hold Ctrl key while closing application, windows 
remember the position and size of application, so 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.

Thanks in advance,
Tom
Re: rememeber the position and size of the window
#4180
Author: 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
Re: rememeber the position and size of the window
#4093
Author: 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
> 
> 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads