Prev: Control color skin
Next: MFC Static vs Dynamic Link
From: David Lowndes on 22 Apr 2010 14:50 >So I started editing the rc. If I un comment ether of these lines, it >causes the trouble: > >CONTROL "",IDC_RTPO_FOOTER,"RichEdit20A",ES_MULTILINE | >ES_READONLY | WS_TABSTOP,5,78,285,30,WS_EX_STATICEDGE > >CONTROL "",IDC_RTPO_COVER,"RichEdit20A",ES_MULTILINE | >ES_AUTOVSCROLL | ES_AUTOHSCROLL | WS_VSCROLL | >WS_TABSTOP,5,139,285,73,WS_EX_STATICEDGE It looks like you need to call AfxInitRichEdit2 in your application's initialisation. Dave |