EM_SETCHARFORMAT 
Author Message
 EM_SETCHARFORMAT

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



Fri, 06 Oct 2000 03:00:00 GMT  
 EM_SETCHARFORMAT

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
:
:



Fri, 06 Oct 2000 03:00:00 GMT  
 EM_SETCHARFORMAT

Thanks, that helps!

Josh

Quote:

>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*/

>}

> 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
>:
>:



Sat, 07 Oct 2000 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. EM_SETBKGNDCOLOR & EM_SETCHARFORMAT

 

 
Powered by phpBB® Forum Software