CompuServe Messages

#CEdit::LimitText

    09-Jul-94 21:00:15
Fm: Charles Steinhardt 70353,2604
To: Jeff Galvin 72713,2763
Jeff, I assume this is not a multiline edit. What happens if you add the following code AFTER your first call to CDialog::OnInitDialog(). ((CEdit*)GetDlgItem(IDD_YOUREDITBOXID))->LimitText(5); If this doesn't limit the text, send me a copy of your complete OnInitDialog code (only). Charles Steinhardt[MVP], OMG Inc. Written 09-Jul-1994 @ 21:38:01 Windows NavCIS PRO 1.21 !^NavFont01F0017MGHmG48MG4DHG74MGAAHGF40EB1