After reading posts about the CHARFORMAT struct, i was wondering if this is a bug in the RichEdit DLL.
It must be 60 instead of 58 (we all know by now)
How can the declaration continue, even in c, if the length is found incorrect by the dll??
Btw,
%SCF_ALL is missing
/* EM_SETCHARFORMAT wParam masks */
#define SCF_SELECTION 0x0001
#define SCF_WORD 0x0002
#define SCF_DEFAULT 0x0000 // Set default charformat or paraformat
#define SCF_ALL 0x0004 // Not valid with SCF_SELECTION or SCF_WORD
#define SCF_USEUIRULES 0x0008 // Modifier for SCF_SELECTION; says that
------------------
http://www.hellobasic.com
It must be 60 instead of 58 (we all know by now)
How can the declaration continue, even in c, if the length is found incorrect by the dll??
Btw,
%SCF_ALL is missing
/* EM_SETCHARFORMAT wParam masks */
#define SCF_SELECTION 0x0001
#define SCF_WORD 0x0002
#define SCF_DEFAULT 0x0000 // Set default charformat or paraformat
#define SCF_ALL 0x0004 // Not valid with SCF_SELECTION or SCF_WORD
#define SCF_USEUIRULES 0x0008 // Modifier for SCF_SELECTION; says that
------------------
http://www.hellobasic.com
Comment