Ctrl + Tab => next Page
-
Hi, I have an MFC tab control which holds a couple of dialogs. On the first page there is a dialog which has a CListCtrl. I would like to implement Ctrl + Tab => next page Shift + Ctrl + Tab => prev page. I thought this was simple - I would just override a WM_CHAR or WM_KEYDOWN or something similar. But the MFC handlers for these messages do not react to holding down/releasing Tab. They also don't give info, whether a combination of control keys like shift and ctrl are pressed together with tab. Will I have to override PreTranslateMessage and set/unset a flag for the shift resp control keys when they are pressed/released? Or is there a more elegant solution? Or is that kind of behavior already part of the tab control's standard implementation, and I just don't realize? Thanks in advance regards Werner