- Online Community Forums » Allegro Development » al_get_window_position doesn't work

This thread is locked; no one can reply to it. rss feed Print
al_get_window_position doesn't work
Matej Ċ tajduhar
Member #15,084
April 2013

EDIT: It works perfectly, guess what that makes me:

Thanks to the guy below! xD

(I'm too embarassed to leave this visible.)

Trent Gamblin
Member #261
April 2000

What are you expecting? Are you moving the window? If not then it would give the same number each time. If you're trying to find the mouse coordinate in the window use al_get_mouse_xy (EDIT: that function doesn't exist, you need al_get_mouse_state.) Otherwise I don't see how it's related to that other thread (which was fixed, at least a fix was committed but if it's wrong we'd like to know.)

Go to: