Hello

As per my project requirement i want to update edit box per second.
give me an idea how can i do it?

Recommended Answers

All 5 Replies

You could set a timer and do the edit box update in response to the timer event.

Of course what will make it very hard for the user to edit the contents.

As i m totally new for visual c++, can i got any timer example how can i put it?
what is the step to put timer?

Thanks.

Which version of visual studio?
Which microsoft technology are you using to write your programs, .NET, MFC, WIN32?

I am using Microsoft visual studio 2010 professional and doing MFC programming.

Since you are using MFC then call SetTimer() The last parameter is the name of the function you want it to call. See the example in the link.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.