RICHEDIT50W, Activex control, Center the text of a table cell.
- From: "funfound" <funfound@xxxxxxxxxxxx>
- Date: Wed, 30 Aug 2006 20:33:07 +0800
use atl and without MFC.
could'nt show the text of center format in a cell.
exp: "\qc 12\cell"
the text "12" was gone.
how to support '\qc'
style;
m_ctlRichEdit.Create(m_hWnd, rc,NULL,
WS_CHILD | WS_VISIBLE | //WS_BORDER |
WS_HSCROLL | WS_VSCROLL | ES_AUTOHSCROLL |
ES_AUTOVSCROLL | ES_MULTILINE | ES_NOHIDESEL |
ES_SAVESEL | ES_SELECTIONBAR, 0);
and there's no difference using this line below or not.
m_ctlRichEdit.SendMessage(EM_SETTYPOGRAPHYOPTIONS,
TO_ADVANCEDTYPOGRAPHY, TO_ADVANCEDTYPOGRAPHY);
.
- Prev by Date: Activex control containment message reflection
- Next by Date: Re: Activex control containment message reflection
- Previous by thread: Activex control containment message reflection
- Next by thread: ATL 8 connection point compilation problem
- Index(es):
Relevant Pages
|