Hi Andrea,
For what I mean by xp style menus please see the attached jpg of Leechget and Firefox.
Thanks,
Malcolm
Hi Andrea,
For what I mean by xp style menus please see the attached jpg of Leechget and Firefox.
Thanks,
Malcolm
Does anyone know of a way to find
the “real” (i.e. non maximized) size of a window that is currently
maximized? I.e. what size the window will be when it is restored
to its non-maximzed state?
Hubert B. Hickman
Software Development Manager
Department of Surgery
University of Nebraska Medical Center
983280 Nebraska Medical Center
Omaha, NE 68198-3280
Voice : (402) 559-3593
Fax : (402) 559-6749
Email : hhickman@unmc.edu
(Hmm, I didn't find anything useful).
For windows maybe:
"Python for Windows extensions".
On Windows, there is the api-function (S)GetWindowPlacement,
which delivers size and pos for "restored" state.
On Wed, 8 Jun 2005 08:41:03 -0500, Hubert B Hickman <hhickman@unmc.edu> wrote:
Does anyone know of a way to find the "real" (i.e. non maximized) size of
a window that is currently maximized? I.e. what size the window will be
when it is restored to its non-maximzed state?
--
Franz Steinhaeusler
maybe this is not what you were looking for but can't you bind EVT_SIZE to
that window and then store the current size before resizing (maximizing)?
On Wed, 8 Jun 2005 08:41:03 -0500, Hubert B Hickman <hhickman@unmc.edu> > wrote:
>Does anyone know of a way to find the "real" (i.e. non maximized) size of
>a window that is currently maximized? I.e. what size the window will be
>when it is restored to its non-maximzed state?
>(Hmm, I didn't find anything useful).
For windows maybe:
"Python for Windows extensions".
On Windows, there is the api-function (S)GetWindowPlacement,
which delivers size and pos for "restored" state.--
Franz Steinhaeusler---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org
I threw my hands up in the air on this one.
Instead of worrying about size while maximized I store in the config the fact that the window was maximized. If not maximized then I store the windows pos/size. So windows come back maximized, otherwise, last size is restored. This logic seems to work well, as long as a resonable default size is in place for starters.
-Joe
Hubert B Hickman wrote:
Does anyone know of a way to find the "real" (i.e. non maximized) size of a window that is currently maximized? I.e. what size the window will be when it is restored to its non-maximzed state?
Hubert B Hickman wrote:
Does anyone know of a way to find the "real" (i.e. non maximized) size of a window that is currently maximized? I.e. what size the window will be when it is restored to its non-maximzed state?
I don't think there is a way, other than saving the size before the window was maximized.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!