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

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
 
A

aualias

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

Thanks.

David


"Mick Doherty"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top