This program shows how to filter out characters from TextBox control.Uses GetWindowLong and SetWindowLong APIs.