Re: Potential issue with message_box() function

new topic     » goto parent     » topic index » view thread      » older message » newer message
LarryMiller said...

Internally the message_box() function uses the API function GetActiveWindow() to get the handle to the active window and uses that as it's parent. There are some potentially serious issues with this..

This is what happens in Arwen. The reason being that I just might want to invoke the message box before the main window handle is even created. Oh I know I shouldn't but it is just so darn convenient! The alternatives were to issue some crummy console message or invest in a custom message box window. I see Andy Drummond has already posted one to the contributions page.. must take a look..

Spock

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu