next up previous contents
Nächste Seite: j_ choice Aufwärts: Functions Vorherige Seite: j_ choicebox2   Inhalt


j_ choicebox3


Synopsis
void j_choicebox3 ( int obj , char* title , char* text , char* button1 , char* button2 , char* button3 );

Argumente

obj : int
title : char*
text : char*
button1 : char*
button2 : char*
button3 : char*

Beschreibung

Öffnet eine Choicebox mit der Überschrift title, Textinhalt text und drei Buttons. Eine Choicebox ist modal, dh. die Applikation wird solange blockiert, bis ein Button oder das Closeicon angeklickt wird. Der Focus ist auf den ersten Button gesetzt. Der Rückgabewert der Funktion beträgt $0$ falls das Closeicon geklickt wird, $1$ bei Button1, $2$ bei Button2 und $3$ bei Button3.

Zielkomponenten

Frame

Beispiel

:
retval = j_choicebox2(frame,"Viruswarning ?","I love you",
                            "Ups","Arrrg","Cancel");
:

j_choicebox3.eps



Merten Joost 2003-02-26