That was helpful, but I still have a couple of questions. First of all, I'm somehow missing the TCN_SELCHANGE notification. Then I change a tab, I do get a WM_NOTIFY message, but wParam doesn't equal TCN_SELCHANGE as it should. It is sending the ID of the tab control instead. I've never really dealt with the WM_NOTIFY message, as I'm new to win32, but I looked at an example that said this is how you would handle it within the DialogProc:
switch(msg)
{
case WM_NOTIFY:
switch(wParam)
{
case TCN_SELCHANGE:
// do stuff
break;
// other notifications
}
break;
// other messages
}
But, like I said, wParam was the ID of the tab control rather than TCN_SELCHANGE. Am I doing something wrong, or does the ID imply that it's a TCN_SELCHANGE?
I'm having a problem with the child dialogs as well, but I've still got some ideas of how I can get them to work. I'll let you know if I can't figure anything out.