When displaying a window containing user input fields, the focus should automatically be set on an input field so that any entered value goes directly into the selected field without requiring a mouse click.
This is intended for use with a barcode scanner. The operator will press a button, which opens a popup window with an input field. This field should automatically be focused so that the operator can simply scan without having to activate the input field with the mouse.
Any ideas?