Display Window with C code.
Posted in 1997
I have a C function and I want to display a windows.
How can I do this with C code.
For example the 4GL code may be :
DEFINE answer CHAR(1)
OPEN WINDOW w_error AT 10,15
WITH 5 ROWS, 50 COLUMNS
ATTRIBUTE (BORDER, PROMPT LINE LAST)
DISPLAY " Erreur interrogation BDO " AT 1,1
ATTRIBUTE (REVERSE)
PROMPT " OK" FOR answer
CLOSE WINDOW w_error
And the C or EC code ?
I find the :
$ char answer [2];
_efiwopen(); ?
$ display " Erreur interrogation BDO " at 1 , 1
attribute ( reverse );
$ prompt " OK" for $answer;
$ end prompt
_efwclose(); ?
What is the syntax of the function _efiwopen() and _efwclose() functions ?
Regards.
Amicalement Net.