Hi all,

I want to write some text(simply a string of characters) to the edit control on a click event. How can I do that. I know it is able to write something to the control using member function,

GetDlgItemText()

by passing two arguments, control ID and string variable. Is there a similar function which I can use.

Thanks.
Eranga

Thanks.

At the same time, I can use SetDlgItemText() member function with passing two arguments, the control ID and string of text.

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.