I have an application that accepts input from a barcode scanner. The scanner, like most scanners, is configured to send a CR and the end of the barcode data. The CR is ignored in my edit box. I turned on the want return option to see if the CR would be retained in the data when doing a GetDlgItemText, but it did not pass to the CString object. What I want to be able to do is capture the CR during input and issue a GotoDlgCtrl(GetDlgItem(IDC_MYNEXTCONTROL)); How can this be accomplished? I know that the EN_CHANGE message is sent on every keystroke. Does the CR pass?

Thanks,

Steve

Steven M. McNeese
[email protected]