GetScreenPosition and iconize
Jorgen Bodde
jorgen.maillist at gmail.com
Thu Feb 8 05:44:15 PST 2007
I second that, I can remember writing my restore code for my window,
that I simply check if the size I get back is < 0 for both x and y, I
do not set the new size. But indeed it is better to have a uniform
result across all ports.
- Jorgen
On 8 Feb 2007 01:34:57 -0800, olivier.corrio at gmail.com
<olivier.corrio at gmail.com> wrote:
>
> On 7 fév, 17:31, v... at wxwindows.org (Vadim Zeitlin) wrote:
> > On 5 Feb 2007 00:51:43 -0800 olivier.cor... at gmail.com wrote:
> >
> > > On linux wxGTK 2.8.0 when i iconize the frame, then
> > > GetScreenPosition,GetRect...give the previous value (same as if the
> > > frame is not iconized). I know that it is not define and the frame is
> > > not on the screen, but maybe it worth giving a fixed value for example
> > > (a value not in screen for example and 0 for width, height).
> >
> > Do you know what do the other ports do in this situation (mainly wxMSW and
> > wxMac)?
> >
> > Thanks,
> > VZ
> >
> > --
> > TT-Solutions: wxWidgets consultancy and technical support
> > http://www.tt-solutions.com/
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: wx-users-unsubscr... at lists.wxwidgets.org
> > For additional commands, e-mail: wx-users-h... at lists.wxwidgets.org
>
>
> I can only try it on wxMSW and it gives -32000 -32000 for position and
> for width and height on rect it gives width and height of the icon
> size on the taskbar
> Olivier
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-users-help at lists.wxwidgets.org
>
>
More information about the wx-users
mailing list