This function defines whether left, center, or right text justification is to be used when text formatting is off.

#define INCL_DDF
#include <os2.h>

HDDF     hddf;    /*  Handle to DDF returned by DdfInitialize. */
ULONG    fAlign;  /*  Justification flag. */
BOOL     rc;      /*  Success indicator. */

rc = DdfSetTextAlign(hddf, fAlign);


[Back] [Next]