1. How do I switch the RichEdit "ColorPusher" to Null? I switch it to any other color (including Null) and it refuses to compile. (BTW I'm using the mingw 3.4.2 compiler to compile this.)
Here's the error message:
C:/upp_backup/uppsrc/RichEdit/RichEdit.lay: In function `void InitLayout(Ctrl&, L&, D&, UnitLayout__layid&) [
with L = WithUnitLayout<TopWindow>, D = WithUnitLayout<TopWindow>]':
C:/upp_backup/uppsrc/CtrlCore/TopWindow.h:207: instantiated from `void CtrlLayout(T&) [with T = WithUnitLay
out<TopWindow>]'
C:/upp_backup/uppsrc/CtrlCore/TopWindow.h:215: instantiated from `void CtrlLayout(T&, const char*) [with T
= WithUnitLayout<TopWindow>]'
C:/upp_backup/uppsrc/CtrlCore/TopWindow.h:221: instantiated from `void CtrlLayoutOK(T&, const char*) [with
T = WithUnitLayout<TopWindow>]'
C:/upp_backup/uppsrc/CtrlCore/TopWindow.h:235: instantiated from `void CtrlLayoutOKCancel(T&, const char*)
[with T = WithUnitLayout<TopWindow>]'
C:\upp_backup\uppsrc\RichEdit\Editor.cpp:266: instantiated from here
C:/upp_backup/uppsrc/RichEdit/RichEdit.lay:46: error: 'class ColorPusher' has no member named 'SetInk'
RichEdit.icpp
1 file(s) compiled in (0:07.46) 7468 msec/file
There were errors. (1:16.84)
2. How do I make the RichEdit read from the Windows Fonts folder and use the fonts there instead of creating two fonts (Times New Roman and Courier)?