Change Text on PropertyPage (Dan?)
Posted on 2002-05-27
I've been working on a project that uses DLLs and PropertyPages. Each DLL has a PropertyPage stored in it. The main application that loads these DLLs contains a PropertySheet. The main application goes through each of the DLLs, gets their PropertyPage, and adds it to the PropertySheet. It them creates the PropertySheet using the Create function. I have a text control (listed as "static text control" even though the value can be changed using the SetDlgItemText function) on each PropertyPage. I want to update the text of this control 1 time every second with a new value.
Here's where I am. I've added a function to each of the DLLs that returns the value i want to display on the PropertyPage. So i have extracted the value i want to display and stored it in a variable in the main application. Am i going in the right direction? What is the next step in updating the PropertyPage values?