I hope this helps, I answer in english because my french is not good 😕
Use 'GenericMessagePopup' and define the 3 buttons:
int result = GenericMessagePopup(
"Popup", // Popup Title
"Please select one", // Popup Message
"YES", // Label Button1
"NO", // Label Button2
"CANCEL", // Label Button3
0, //answer String
0, //Tam bytes answer string
1, //Button Align
VAL_GENERIC_POPUP_BTN1, // Active control
VAL_GENERIC_POPUP_BTN1, // Control assigned to
VAL_GENERIC_POPUP_BTN3); //Control assigned to
if (result == 1) // Boton1 (YES)
{
//....
}
else if (result == 2) // Boton2 (NO)
{
//....
}
else //Boton3 (CANCEL)
{
}