Yes No Meldung anzeigen....



  • hallo,
    ich nutze VS 2008

    Warum geht das nicht?

    MessageBox::Show("Wirklich beenden?","Warnung!", MessageBoxButtons::YesNo, MessageBoxIcon::Warning)
    

    [code]
    error C2653: 'MessageBoxW' : is not a class or namespace name
    error C2653: 'MessageBoxButtons' : is not a class or namespace name
    error C2065: 'YesNo' : undeclared identifier
    error C2653: 'MessageBoxIcon' : is not a class or namespace name
    error C2065: 'Warning' : undeclared identifier
    error C2146: syntax error : missing ';' before identifier 'tischnr'
    error C3861: 'Show': identifier not found


  • Mod

    Du mischt hier .NET mit Windows API...

    Was hast Du vor?

    int iRet = AfxMessageBox(IDP_MY_QUESTION,MB_YESNO);
    

Anmelden zum Antworten