Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!asuvax!noao!arizona!bam From: bam@cs.arizona.edu (Brett Alan Morrison) Newsgroups: comp.windows.ms.programmer Subject: List boxes and Edit Windows - Common problem Keywords: Help! Message-ID: <1565@caslon.cs.arizona.edu> Date: 11 Jun 91 17:39:10 GMT Organization: U of Arizona CS Dept, Tucson Lines: 22 Two questions: Does anyone out there know how to justify text in a list box? Like this: ------------------------------ |Item one 05/02/91 | Any suggestions? My problem is that |Another item 05/02/91 | everything is proportianally spaced. |I wan't this 05/02/91| |And this 05/02/91| | | ------------------------------ Also, are there any generic routines out there for validating a numeric in a one line edit window? If the user enters a non-numeric character, I want the bad character(s) to be highlighted and the cursor placed at the beginning. This is a common method used by applications, but I'm not sure of the best way to do it. Thanks, Brett A. Morrison bam@cs.arizona.edu