Hi guys I was making another tutorial and realize that after creating a display the message box using al_show_native_message_box() appear behind the display application, making it impossible to the user to know what it's happening. Am I doing something wrong?
Well this is the example I was about to show:
Thanks!.
Try using al_get_current_display() as the first argument of al_show_native_message_box(), instead of NULL.
Thank you man!, you just solve it!.
Same for me, had the same problem. I thought it was some weird Windows thing...
Yes the thing is that even when I have seen that function (al_get_current_display()) in the past, I didn't have it in mind, I don't know why, in fact in my current game, there are a lot of "display" pointers going around... How stupid of me...
Anyway I finish another tut, if you want to check it to see if there are some errors and stuff... Showing a basic native GUI message box. It got bigger than I would like it to be, but wth...
The docs for that function is in the wrong section of the manual, too.
Yep, it should definitively be placed into the Display section.