tourcd Posted June 20, 2008 Share Posted June 20, 2008 (edited) I'm using the following code (extracted from a larger app). $MessageBody = GUICtrlCreateInput("Test message" & @CR & ("Line 2"), 80, 100, 280, 190, $ES_MULTILINE + $ES_AUTOVSCROLL) Then later on... Send(& GUIRead($MessageBody)"",1) Ok, the @CR creates a unknown character in the GUICtrlCreateInput box which shows up as a small square/rectangle. When I pass the text to my application it behaves as expected, putting in the CR. If I hit the enter key within GUICtrlCreateInput it moves down to the next line but when I send it to my application it treats it as a CTRL+ENTER key stroke. Does anyone know why or how I can get rid of this problem? Edited June 20, 2008 by tourcd Link to comment Share on other sites More sharing options...
ChrisL Posted June 20, 2008 Share Posted June 20, 2008 Try @crlf $MessageBody = GUICtrlCreateInput("Test message" & @CRlf & ("Line 2"), 80, 100, 280, 190, $ES_MULTILINE + $ES_AUTOVSCROLL) [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now