How do you check for the tab changing in a TabControl?

  • Thread starter Thread starter aualias
  • Start date Start date
A

aualias

Hi,

I have a dialog with a TabControl. Some of the TabPages have TabControls on
them. If I need to detect when the outer TabControl is about to change to
another TabPage I can override the WndProc() and handle WM_NOTIFY and
TCN_SELCHANGING.

However, when one of the inner tabs change WM_NOTIFY gets swallowed
somewhere.
How does the framework route messages when an inner tab changes?
How can I detect when one of the tabs on my inner TabControl is about to
change?

Thanks.

David
 
Exactly what I was looking for - better, saved me a bunch of work.

Thanks.

David


"Mick Doherty"
 
Back
Top