views:

290

answers:

0

Alright, this has been bugging me for some time now.

I have a Property Frame with 5 Property Pages in it. I created it using this COM method: OleCreatePropertyFrame

The basic result is it creates a modal dialog with a tab control built into it with which I can switch from one property page to another.

The issue is when I switch to a tab, I need a way to tell that property page that it is now active. (Like a tab switch event but I can't seem to find something similar here).

The windows message WM_INITDIALOG works just fine, but only the first time you go to the tab.

I wish I could just say here's the code, what am I doing wrong, but if I had any code for this, it would be done. Any suggestions/ideas?

This is for an MFC app written in C++.