Message box flags necessary response

  • Anurag Jain
    Anurag Jain

    I am having problem with understanding message box. Is there some message flag which ensures that after the message box is displayed, it is necessary to give response to it (press ok, cancel etc) before switching the focus to any other window. In other words, you can't switch to any window before interacting with this message.
    I am still understanding the code, can somebody point me in the right direction.
    Or is there some other way of doing the same?
    Any help is deeply appreciated.

    Thanks and Regards