|
win_set_window equivalent in Allegro 5? |
newdeepblue
Member #15,926
April 2015
|
There was a "win_set_window" function in previous allegro versions which lets you to choose an already created window and use allegro features on it.I couldn't see that in allegro 5 manual.The reason I need that function is I need to use windows message callback function. |
Erin Maus
Member #7,537
July 2006
|
You can use al_win_add_window_callback. However, its behavior is not correct. I tried submitting a patch but it was never reviewed: https://www.allegro.cc/forums/thread/613870 --- |
newdeepblue
Member #15,926
April 2015
|
Thanks for quick response, I guess my version 5.0 doesn't have that function since on web page it says: Since: 5.1.2 I can't find newer version in devcpp updates, need to to by hand I guess? |
SiegeLord
Member #7,827
October 2006
|
Aaron Bolyard said: I tried submitting a patch but it was never reviewed This has now been committed with some minor changes. Thanks . newdeepblue said: I can't find newer version in devcpp updates, need to to by hand I guess? If you don't need the aforementioned result set correctly, you can use one of the previous releases. There is a cache of unofficial builds here: http://targonski.nazwa.pl/thedmd/allegro/. "For in much wisdom is much grief: and he that increases knowledge increases sorrow."-Ecclesiastes 1:18 |
Erin Maus
Member #7,537
July 2006
|
|