IOdialogButton

Top  Previous  Next

Badge in dialogue field take up.

Because a badge ordinarily owns no unterelements, there is only one procedure for generating of a badge. IOdialogButton generates a badge with the text string titel as a name, to the magnitudes spreads and höhe and the appearance stil. This badge sends off while operating the string funktion, followed by his id and the DialogId. The badge becomes positioned with the left lower corner in the position (x, y) relatively the surrounding element.

Parametre

dialogString (char *) [IN / OUT]

Sign chain with the up to now built up part of the dialogue. For this badge place of about 80-120 signs must still be,

titel (char *) [IN]

The badge gets this string as names. This is written according to badge type in the badge or besides.

x (int) [IN]

Position of the lower left corner of the badge relatively to the surrounding element.

y (int) [IN]

Position of the lower left corner of the badge relatively to the surrounding element.

spread (int) [IN]

Width of the badge.

hoehe (int) [IN]

Height of the badge.

id (int) [IN]

These ID must be unequivocal within the dialogue. With her the contents of the badge are changed and with her every activity of the badge is announced.

funktion (char *) [IN]

The badge sends off with activity this string followed from id and the DialogId.

stil (char *) [IN]

Here the appearance of the badge is determined. For badges the following are possible:

WS_VISIBLE - the badge is visible

BS_PUSHBUTTON - the badge is a single Pushbutton, the name stands in the button.

help (char *) [IN]

Spends this help text if the cursor about the badge is.

Result

---

Declaration

#include "ausgabe.h"

 

void DLLENTRY IOdialogButton (

char * dialogString,

char * titel,

int x,

int y,

int spreads,

int hoehe,

int id,

char * funktion,

char * stil,

char * help

);