[AD] [ alleg-Bugs-3517626 ] al_show_native_message_box focus on Windows

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


Bugs item #3517626, was opened at 2012-04-13 18:22
Message generated for change (Tracker Item Submitted) made by tjaden
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105665&aid=3517626&group_id=5665

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Windows
Group: 5.1
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Peter Wang (tjaden)
Assigned to: Nobody/Anonymous (nobody)
Summary: al_show_native_message_box focus on Windows

Initial Comment:
http://www.allegro.cc/forums/thread/609911/951925#target

We call MessageBoxW to open the message box. When we give the window handle of the display to MessageBoxW, the new window inherits(?) the window proc of the normal Allegro window. For some reason, due to the way the window proc handles the messages, the message box doesn't gain focus when it is created.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105665&aid=3517626&group_id=5665




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