How do I make an event handler for a button in the MessageBox?
I know how to make buttons with event handlers, and I somewhat know how to do this. What I do is this:
MessageBox(hwnd, "Do you really want to leave?", "Leaving?", MB_YESNO);
//whatever I will put here...
So, anyway, I put that but if I click No, it will do what I prompted 'yes' to do. How do I make 'no' to do a separate action?
Alright thanks for the link and answer. Both were Extremely helpful.
Topic archived. No new replies allowed.