http://www.vb-helper.com/HowTo/margins.zip

	Purpose
Set the margins for a TextBox.

	Method
Use the SendMessage API function to send the EM_SETMARGINS message.

Note that the right margin does not really work properly on text
entered before the margins are set. To make things work, set the
margins before entering text.

	Disclaimer
This example program is provided "as is" with no warranty of any kind. It is
intended for demonstration purposes only. In particular, it does no error
handling. You can use the example in any form, but please mention
www.vb-helper.com.
