News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Easy question about multiline textbox

Started by travism, October 22, 2008, 07:26:44 AM

Previous topic - Next topic

travism

So in my rsrc.rc file I have:
CONTROL "",IDC_MAINTXT,"Edit",WS_CHILD|WS_VISIBLE|WS_VSCROLL|WS_TABSTOP|ES_MULTILINE,0,0,296,188,WS_EX_CLIENTEDGE
I also tried
CONTROL "",IDC_MAINTXT,"Edit",WS_CHILD|WS_VISIBLE|WS_VSCROLL|WS_TABSTOP|ES_WANTRETURN|ES_MULTILINE,0,0,296,188,WS_EX_CLIENTEDGE

is there anything special in the assembly source file to allow me to press enter in the textbox? Because it doesn't allow me to press enter still.. Im sure its something easy just not used to using multiline textboxes.

Update: I fixed it. Thanks :)

fattypotato

I wish you would have posted how you fixed your problem. 

travism

It was the second code, It was on my eror why it wasn't working :\ make sure its ES_MULTILINE and ES_WANTRETURN