Re: [AD] default windowed position on windows |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> It would be just matter of passing CW_USEDEFAULT to the x, y parameters of
> create window
>[I should have answered earlier]
>We can't directly do that, because we create a hidden window as soon as
>allegro_init() is called, which is put at the -100,-100 position
Then use it as param of MoveWindow whenever you want to :)
(Btw, why is it put at -100, -100?, Isn't it hidden anyway?)