views:

28

answers:

0

Hello,

I am implemeting a plugin for Winamp. I have a MessageBox when the plugin starts which asks the user for a certain task. However, the problem is that this MessageBox goes in the background as Winamp starts. I would like this MessageBox to have focus - or wait for an answer.

The relevant code:

int answer(MessageBoxA(
    plugin.hwndParent,
    question.c_str(),
    "Scan library now ?",
    MB_YESNO | MB_ICONQUESTION
));