nanogui: linefeed using DrawText


Previous by date: 19 Apr 2005 15:11:46 +0100 Re: keeping the project alive - first patch, skoe.nexgo.de
Next by date: 19 Apr 2005 15:11:46 +0100 Microwindows cleanups .... some ideas, alain volmat
Previous in thread:
Next in thread: 19 Apr 2005 15:11:46 +0100 linefeed using DrawText, ofi

Subject: linefeed using DrawText
From: "ofi" ####@####.####
Date: 19 Apr 2005 15:11:46 +0100
Message-Id: <380-220054219141051553@my-mail.ch>

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


Previous by date: 19 Apr 2005 15:11:46 +0100 Re: keeping the project alive - first patch, skoe.nexgo.de
Next by date: 19 Apr 2005 15:11:46 +0100 Microwindows cleanups .... some ideas, alain volmat
Previous in thread:
Next in thread: 19 Apr 2005 15:11:46 +0100 linefeed using DrawText, ofi


Powered by ezmlm-browse 0.20.