wordwrap?

BlitzPlus Forums/BlitzPlus Programming/wordwrap?

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

See your undocumented styles post ... and get your checkbook out Ben !-)

:)