Hi, i have a dialog which is inside a tab control. The tab control is inside CFormView.

How can i detect 'F1' key down regardless of where my focus is?

I could detect it without the tab control inside my form view using PreTranslateMessage of CView to detect the 'F1' but with tab control added, it doesn't works anymore.

Anyone has any idea?? Thanks......