MessageDlgPos (C++)
Description
This example uses a button on a form. When you click the button, a message box appears with Yes, No, and Cancel buttons on it.
Code
void __fastcall TForm1::Button1Click(TObject *Sender)
{
// Cannot do TMsgDlgButtons() << mbYesNoCancel
MessageDlgPos("Are you there?", mtConfirmation, mbYesNoCancel, 0, 200, 200, mbYes);
}
Uses
- Vcl.Dialogs.MessageDlgPos ( fr | de | ja )