wordwrap?

BlitzPlus Forums/BlitzPlus Programming/wordwrap?

Binary_Moon(Posted 2003) [#1]
could someone test this for me. I want wordwrap in text areas but only have the demo of blitz+ at the moment so can't actually see if this works (don't have queryobject command). If it does (or someone knows how to add wordwrap another way) then I will be buying blitz+ next week some time :)

;userlib - user32.decls

SendMessage%(hwnd, msg, wParam, mParam):"SendMessageA"


and the actual function

Function wordwrap(id)

	Local EM_SETWORDBREAKPROC=$00D0
	
	sendmessage(QueryObject(lb,1),EM_SETWORDBREAKPROC,0,0)
		

End Function


Something I haven't added is the LPARAM (as seen here http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/editcontrols/editcontrolreference/editcontrolmessages/em_setwordbreakproc.asp) but I haven't got a clue what it should be or how it works.

Any help would be great


EOF(Posted 2003) [#2]
See your undocumented styles post ... and get your checkbook out Ben !-)


Binary_Moon(Posted 2003) [#3]
:)