nanogui: linefeed using DrawText


Previous by date: 20 Apr 2005 09:21:08 +0100 Greyscale, skoe.nexgo.de
Next by date: 20 Apr 2005 09:21:08 +0100 Re: [SPAM] Aw: [nanogui] linefeed using DrawText, ofi
Previous in thread: 20 Apr 2005 09:21:08 +0100 linefeed using DrawText, ofi
Next in thread:

Subject: Aw: [nanogui] linefeed using DrawText
From: ####@####.####
Date: 20 Apr 2005 09:21:08 +0100
Message-Id: <16951334.1113985267603.JavaMail.ngmail@webmail-01.arcor-online.net>

 
Afaik you have to do it by yourself. Just scan for \n and call DrawText several times. 
If you need more luxury you may use a widget library like fltk or flnx.

Thomas

----- Original Nachricht ----
Von:     ofi ####@####.####
An:      ####@####.####
Datum:   19.04.2005 16:10
Betreff: [nanogui] linefeed using DrawText

> i want to draw a multi-line text 
> i use the function DrawText(hdc,text,strlen(text),&rect,DT_LEFT);
> 
> the text output is ok if i draw a single line text like: "this is a single
> line"
> if i want to draw the text "this line has a \nLinefeed" i also get a single
> line output
> and the \n is displayed as an unreadable character
> 
> is the microwindow function DrawText able to do a linefeed
> i'm using true type fonts like times and arial for the output
> am i using the correct linefeed character (\n)?
> 
> 
> ___________________________________________________________________________
> Die einen haben es, die anderen werden es!
> http://my-mail.ch/?redirect=9905
> Der neue Astra Caravan - jetzt probefahren!
> http://www.my-mail.ch/?redirect=1969
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
> 
> 

Machen Sie aus 14 Cent spielend bis zu 100 Euro!
Die neue Gaming-Area von Arcor - über 50 Onlinespiele im Angebot.
http://www.arcor.de/rd/emf-gaming-1

Previous by date: 20 Apr 2005 09:21:08 +0100 Greyscale, skoe.nexgo.de
Next by date: 20 Apr 2005 09:21:08 +0100 Re: [SPAM] Aw: [nanogui] linefeed using DrawText, ofi
Previous in thread: 20 Apr 2005 09:21:08 +0100 linefeed using DrawText, ofi
Next in thread:


Powered by ezmlm-browse 0.20.