Remembering top level window's size

Hi, I'm using wxPython 2.8.9.2 on MSW

Many programs I use remember their size (e.g. the size of their top
level window) after they have been closed, so when re-started they can
return to that size.

Is there any way to do this automatically within wxPython? Or should I
write the size somewhere (in the register, into a file, ...) and then
read and apply?

Thanks for any suggestion.
Marco

···

--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en

Hi,

Hi, I'm using wxPython 2.8.9.2 on MSW

Many programs I use remember their size (e.g. the size of their top
level window) after they have been closed, so when re-started they can
return to that size.

Is there any way to do this automatically within wxPython? Or should I
write the size somewhere (in the register, into a file, ...) and then
read and apply?

Thanks for any suggestion.

It's not officially in the wxPython distribution, but you could use my
PersistentControls library:

http://xoomer.virgilio.it/infinity77/main/freeware.html#persistentcontrols

It will do what you ask and much more. There is an almost step-by-step
guide on my website and a demo in the library. Let me know if you end
up using it and if you find any issue.

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/

==> Never *EVER* use RemovalGroup for your house removal. You'll
regret it forever.
The Doomed City: Removal Group: the nightmare <==

···

On 23 April 2010 11:13, Marco wrote:

--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en

Andrea, tank you for your suggestion: I shall still pratice, but your
PersistentControls library is helping me with this issue and maybe
some others, I'll keep you informed.

Have my gratitude for your great works, you give wxPython a boost up!

···

On 23 Apr, 12:17, Andrea Gavana <andrea.gav...@gmail.com> wrote:

Hi,

On 23 April 2010 11:13, Marco wrote:

> Hi, I'm using wxPython 2.8.9.2 on MSW

> Many programs I use remember their size (e.g. the size of their top
> level window) after they have been closed, so when re-started they can
> return to that size.

> Is there any way to do this automatically within wxPython? Or should I
> write the size somewhere (in the register, into a file, ...) and then
> read and apply?

> Thanks for any suggestion.

It's not officially in the wxPython distribution, but you could use my
PersistentControls library:

http://xoomer.virgilio.it/infinity77/main/freeware.html#persistentcon

It will do what you ask and much more. There is an almost step-by-step
guide on my website and a demo in the library. Let me know if you end
up using it and if you find any issue.

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."http://xoomer.alice.it/infinity77/

==> Never *EVER* use RemovalGroup for your house removal. You'll
regret it forever.http://thedoomedcity.blogspot.com/2010/03/removal-group-nightmare.html&lt;==

--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visithttp://groups.google.com/group/wxPython-users?hl=en

--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en