nanogui: Re: [SPAM] Aw: [nanogui] linefeed using DrawText


Previous by date: 20 Apr 2005 09:37:36 +0100 Re: linefeed using DrawText, skoe.nexgo.de
Next by date: 20 Apr 2005 09:37:36 +0100 Re: keeping the project alive, alain volmat
Previous in thread:
Next in thread:

Subject: RE: [SPAM] Aw: [nanogui] linefeed using DrawText
From: "ofi" ####@####.####
Date: 20 Apr 2005 09:37:36 +0100
Message-Id: <380-22005432083642265@my-mail.ch>

i already did it that way using ExTextOut for each line
but that was a sit-and-wait-workaround ... sitting and waiting for all the
text lines to be drawn ...

>
>
>
>---- Originalnachricht ----
>Von: ####@####.####
>An: ####@####.####
>Betreff: RE: [SPAM] Aw: [nanogui] linefeed using DrawText
>Datum: Wed, 20 Apr 2005 10:21:07 +0200 (CEST)
>
>> 
>>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
>>
>>--------------------------------------------------------------------
>-
>>To unsubscribe, e-mail: ####@####.####
>>For additional commands, e-mail: ####@####.####

___________________________________________________________________________
Müde auf kleines Postfach?
http://my-mail.ch/?redirect=9903
Online-Gewinnspiel mit 1'000 Sofortpreisen im Wert von CHF 40'000!
http://my-mail.ch/?redirect=1779


Previous by date: 20 Apr 2005 09:37:36 +0100 Re: linefeed using DrawText, skoe.nexgo.de
Next by date: 20 Apr 2005 09:37:36 +0100 Re: keeping the project alive, alain volmat
Previous in thread:
Next in thread:


Powered by ezmlm-browse 0.20.