how do i Draw a newline when using DrawText, i have the DT_MULTILINE const applied aswell.
in C++ it's just the \n tag, but it doesent work in masm.
thanks in advance.
db "my ",13,10,"text",0
Quote from: hitchhikr on April 09, 2005, 09:42:21 AM
db "my ",13,10,"text",0
how do i do it if im going to be writing text to buffer's then writitng the text froma buffer though?
Quote from: Ash_ on April 09, 2005, 09:45:22 AM
how do i do it if im going to be writing text to buffer's then writitng the text froma buffer though?
Huh?? :eek
Make yourself more clear ::) . You just have to pass ADDR Youtextname to DrawText as the appropriate parameter.
YourTextname db "my text has ",13,10,"newline",0
13 and 10 are the ASCII codes of CR and LF (Carriagereturn and line feed)
Thomas :U
What restrain you to write 13 and 10 inside of that buffer ?