Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » RichText,QTF,RTF... » RichEdit Questions
icon5.gif  RichEdit Questions [message #2536] Mon, 17 April 2006 03:03 Go to previous message
mentaltruckdriver is currently offline  mentaltruckdriver
Messages: 14
Registered: March 2006
Promising Member
Greetings:

I have two questions to ask so here I go:

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)?

Thanks for the help. Smile Smile Smile

[Updated on: Mon, 17 April 2006 03:03]

Report message to a moderator

 
Read Message icon5.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: QTF Justification
Next Topic: Is there a qtf page-break?
Goto Forum:
  


Current Time: Sun May 05 12:32:01 CEST 2024

Total time taken to generate the page: 0.02892 seconds