I'm writing an application in MS Visual C++, Ver 5.0. Part of this application calls up a Dialog Box with a CheckBox and Edit Box. When the CheckBox is clicked, it reads an A/D port on a PC Board in the computer, and ultimately displays this value in the Edit Box once I've manipulated the raw data into something more meaningful.
My question is: How can I automate this process so that when the Dialog Box is called up, the Edit Box continually updates with new data?
Do I need to use a Timer and another subroutine, or is there a better way?