I have a modeless form that lists all the open dwgs in a listbox. It is supposed to be a one stop shop for various dwg activities like switching, opening, saving, closing and so on. The application needs to detect what keyboard key happens to be pressed while a form's button is also pressed so that the button's event can perform more than one task if the user knows how to use it that way. I had poor results fooling with setting a flag using the listbox's keyboard events. What I need is a simple keyboard state class that can report the last keypress and maybe even clear it if so desired.