Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I update items on multiple OCX property pages when they aren being displayed?

items ocx pages Property
0
Posted

How do I update items on multiple OCX property pages when they aren being displayed?

0

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

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123