Advertisement
Gov_777

Application->MessageBox

Oct 20th, 2017
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.21 KB | None | 0 0
  1. int Key = -1;
  2. if (Key != Application->MessageBox(L"Text", L"Caption",
  3. MB_YESNO | MB_ICONQUESTION | MB_DEFBUTTON2)) {
  4. Application->MessageBox(IntToStr(Key).c_str(), L"Caption",
  5. MB_ICONQUESTION | MB_DEFBUTTON2);
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement