MFC 非模态窗口如何使用加速键?

制作了一个非模态的窗体,制作并加载加速键之后,重写pretanslatemessage。
重写的pretanslatemessage并没有被调用是怎么回事?
非模态窗口的加速键要怎么样才能使用?