Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MFC show default values

Status
Not open for further replies.

ahsan786

Technical User
Feb 4, 2004
12
HK
Hi,
I am facing a bit of a difficulty here.
does any one know how to show default values in the textbox.
for example.
there is the name text box
when i run the application i want the textbox to show my name into it. i.e.
Your name: ahsan786
(the name can be changed by the user)
thank you
 
Create an variable linked with editbox and change its value on initiation.

Hi there!
 
i know what you mean, you just init the values in the oninit function.
but isn't there like a way... like in vb... where you just go and assign the initial values...???
cheerz and thank you for the reply
 
I don't know about such way. But i will install VC and see.

Hi there!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top