- Sep 29, 2004
- 18,656
- 67
- 91
Right now we use:
MessageBox(messatgeText, "title", MB_ICONERROR | MB_OK);
This function blocks till OK is pressed however.
Is there a simple way to make this non-blocking? I know that wrapping the call to messageBox() in a thread would work, but I was wondering if C already has something built in to do this.
And since I almost made the mistake in writing this, I will remind all that I am talmking about non-blocking, not non-modal
MessageBox(messatgeText, "title", MB_ICONERROR | MB_OK);
This function blocks till OK is pressed however.
Is there a simple way to make this non-blocking? I know that wrapping the call to messageBox() in a thread would work, but I was wondering if C already has something built in to do this.
And since I almost made the mistake in writing this, I will remind all that I am talmking about non-blocking, not non-modal