C Language and Libraries Help (clang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
WABOUT.C
                                             Up Contents Index Back
─────Run-Time Library───────────────────────────────────────────────────────
 
/* WABOUT.C - Demonstrate setting the About dialog box
 * string with _wabout
 */
 
#include <stdio.h>
#include <io.h>
 
char string[512];
 
void main()
{
    int nRes;
 
    for ( ; ; )
    {
        printf( "\nEnter the About string: " );
        scanf("%s", string);
        printf( "\nAbout string = %s\n", string );
 
        printf( "Setting about string..." );
        nRes = _wabout( string );
        printf( "\n_wabout result = %i\n", nRes );
 
        printf( "\nTry 'About' in the Help menu\n" );
    }
}
 
 
 
                                    -♦-