Prev Next

SOPutCharAttr

Sets the style attributes for characters in text.

VOID SOPutCharAttr(

    WORD wAttr,

    WORD wState,

    HPROC reserved

   );

Parameters

wAttr
Style attribute type. This parameter can be one of these values:

SO_BOLD

Bold

SO_CAPS

All capital letters

SO_DOTUNDERLINE

Dotted underline

SO_DUNDERLINE

Double underline

SO_ITALIC

Italic

SO_OUTLINE

Outlined rather than solid

SO_SHADOW

Shadow slightly beneath and behind

SO_SMALLCAPS

Small capital letters

SO_STRIKEOUT

Strikeout

SO_SUBSCRIPT

Subscript

SO_SUPERSCRIPT

Superscript

SO_UNDERLINE

Single underline

SO_WORDUNDERLINE

Underline

wState
Style attribute state. This parameter can be the SO_ON or SO_OFF value.
reserved
Reserved; do not use.

Return Values

None.