Take a little more time to understand how the function works id 1 and 2 are for ok and cancel buttons which you don't have in your dialog
dialog ids 0,1, and 2 are reserved
id 1= ok button
id2= cancel button
if you would be more specific as to what you want these Accelerators keys to do we can help more
dialog ids 0,1, and 2 are reserved
id 1= ok button
id2= cancel button
if you would be more specific as to what you want these Accelerators keys to do we can help more