Public Const WM_USER As Long = &H400
Public Const EM_SETCHARFORMAT As Long = (WM_USER + 68)
typedef struct _charformat2a
{ UINT cbSize;
_WPAD _wPad1;
DWORD dwMask;
DWORD dwEffects;
LONG yHeight;
LONG yOffset;/* > 0 for superscript, < 0 for subscript */
COLORREF crTextColor;
BYTE bCharSet;
BYTE bPitchAndFamily;
charsz FaceName[LF_FACESIZE];
_WPAD _wPad2;
WORD wWeight;/* Font weight (LOGFONT value)*/
SHORT sSpacing;/* Amount to space between letters*/
COLORREF crBackColor;/* Background color*/
LCID lcid;/* Locale ID*/
DWORD dwReserved;/* Reserved. Must be 0*/
SHORT sStyle;/* Style handle*/
WORD wKerning;/* Twip size above which to kern char pair*/
BYTE bUnderlineType;/* Underline type*/
BYTE bAnimation;/* Animated text like marching ants*/
BYTE bRevAuthor;/* Revision author index*/
Quote:
}
Don't ask me what it means :-)
--
Randy Birch, MVP Visual Basic
VBnet, The Visual Basic Developers Resource Centre
http://home.sprynet.com/sprynet/rasanen/vbnet/default.htm
Common Controls Replacement Project
http://www.mvps.org/ccrp
:Does anyone have the VB declaration for EM_SETCHARFORMAT and for CHARFORMAT
:(or even better, CHARFORMAT2)?
:
:I'm using VB5 Ent SP3.
:
:I would really appreciate it if someone could supply me with these
:declarations!
:
:Thanks in advance!
:
:Josh
:
: