Re: [AD] default windowed position on windows

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


>> Then use it as param of MoveWindow whenever you want to :)

>Does that work ? Aren't CW_* constants tied to CreateWindow() and
>CreateWindowEx() ?
Now that you mention, I think not, but a workaround would be possible
It could create it with CW_USEDEFAULT, store the coords, move it
to -100, -100 and then once visible move it back to the stored position

>> (Btw, why is it put at -100, -100?, Isn't it hidden anyway?)

>I should have been more accurate... the window must be visible from the OS
>viewpoint (to be able to get the focus) but not from the user viewpoint

Ahh





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