The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: travism on October 22, 2008, 07:26:44 AM

Title: Easy question about multiline textbox
Post by: travism on October 22, 2008, 07:26:44 AM
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 :)
Title: Re: Easy question about multiline textbox
Post by: fattypotato on November 07, 2008, 04:19:23 AM
I wish you would have posted how you fixed your problem. 
Title: Re: Easy question about multiline textbox
Post by: travism on November 07, 2008, 04:08:31 PM
It was the second code, It was on my eror why it wasn't working :\ make sure its ES_MULTILINE and ES_WANTRETURN