Component index
Section index

Component diapopup1


Search

Type

Function

Summary

Simple dialog to enter a single string value.

Description

The dialog is presented with a single field. The use must enter something. When he hits accept, the ok functag is called. If the value is not appropriate, the ok functag sets reject=true and the edit session continues.

void ok (const char *val, bool &reject, int &retcode)

Prototypes

int diapopup1 (const char *title, const char *intro, const char *ftitle, const char *initval, HELP_FILE &help)

Functags

void ok (const char *val, bool &reject, int &retcode) Mandatory

Called when the user has entered a value

The value must be processed and validated. If the value is not appropriate, an error message must be presented and reject must be set to true.