SOPutCharAttrSOPutCharAttr*
*Contents  *Index  *Topic Contents
*Previous Topic: SOPutChar
*Next Topic: SOPutCharFontById

SOPutCharAttr

Sets the style attributes for characters in text.

Syntax


VOID SOPutCharAttr(
    WORD wAttr,     
    WORD wState,    
    HPROC reserved  
);

Parameters

wAttr
Style attribute type. This parameter can be one of these values:
SO_BOLDBold
SO_CAPSAll capital letters
SO_DOTUNDERLINEDotted underline
SO_DUNDERLINEDouble underline
SO_ITALICItalic
SO_OUTLINEOutline rather than solid
SO_SHADOWShadow slightly beneath and to the side
SO_SMALLCAPSSmall capital letters
SO_STRIKEOUTStrikeout
SO_SUBSCRIPTSubscript
SO_SUPERSCRIPTSuperscript
SO_UNDERLINESingle underline
SO_WORDUNDERLINEUnderline
wState
Style attribute state. This parameter can be the SO_ON or SO_OFF value.
reserved
Reserved; do not use.

Return Value


No return value.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.