Link to home
Start Free TrialLog in
Avatar of dgoerner
dgoerner

asked on

Updating Edit Box real time

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?
Thank-You!
ASKER CERTIFIED SOLUTION
Avatar of mikeblas
mikeblas

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dgoerner
dgoerner

ASKER

Hey mikeblas:
Thanks for answering my question so quickly!  I kind of figured that this would be the best approach, was hoping you'd come back and say something like "Oh yea....just type in this ONE command and it'll take care of everything!"
No such luck.

Will give it a whirl and let you know the results if you want?

Thanks again!

dgoerner
> No such luck.

Unfortunately, Windows has no UpdateSomeEditBoxFromMyADHardware() API.

 > Will give it a whirl and let you know the results if you want?

If you have follow-up questions, I'd be happy to answer 'em.

..B ekiM