Re: [AD] default windowed position on windows

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> > I know in Visual Basic, there's an option of having a window open in the
> > "Default Location". Every time the program runs, it gets placed in a
> > cascading format from top-left to bottom-right. It's never placed behind
> > docked windows unless the entire client size is too large. I've not done
> > any research, but perhaps there's a Win32 API function similar to this
> > that Allegro could use? I can look for it if no one knows off hand
>
> That would indeed be the right solution and worth implementing on the
branch
> as well as on the trunk

It would be just matter of passing CW_USEDEFAULT to the x, y parameters of
create window





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/