The MASM Forum Archive 2004 to 2012

General Forums => The Workshop => Topic started by: Mr Earl on January 28, 2005, 07:23:07 PM

Title: Sending Accelerator Keys to a Dialog Box
Post by: Mr Earl on January 28, 2005, 07:23:07 PM
I have a listview which creates a dialog box (CreateDialogParam).  I want to send accelerator keys to the dialog box but the listview is processing them . How do I get the keys past the listview?
Title: Re: Sending Accelerator Keys to a Dialog Box
Post by: Mr Earl on January 29, 2005, 11:55:38 AM
I'm answering my own question.  It's as simple as varying the handle name of the destination window in the TranslateAccelerator statement depending on which window is active.  Somehow submitting a question to the Forum enables me to see something in my code that I didn't see before.