How do I update items on multiple OCX property pages when they aren being displayed?
I had a real tough time with this. Items in one of my pages affected other pages, so they need to be updated when a control changes. There are a couple of problems at work here, at least as far as I can tell. First, the pages don’t get created when the property sheet first pops up. Instead, creation is postponed until the first time they are actually displayed. Second, there doesn’t appear to be any reliable method to intercepting the command to show the page. I believe this is because the property page frame is the one who’s dealing with the visibility issues. My solution doesn’t do things exactly the way you want, but it did work for me. Each time time a control value changes, and I need to update other values in other pages, I go to my parent’s parent, which is the master property dialog. I then send a private message to all of that window’s children indicating that something has changed. They get indiscriminately blasted, and anyone who has been created and is paying attention can