|
-
May 14th, 1999, 05:06 PM
#1
question by new user
This is what I want to do: create a box (just like when you enter your user name in
www.hotmail.com) let the users enter some text and click a botton (just like what
the "sent" botton do) . then the program will
save the text the users have entered into a notepad text file.
this is just like what we use in UNIX, fwrite() function.
From Alan.
-
May 14th, 1999, 06:06 PM
#2
Re: question by new user
Hello,
You want to have a look at the CFile class which makes things easier than fopen, fwrite etc.
As for the dialog, just use a CEdit control and use UpdateData(FALSE) to read the information to your Variable, (If your using MFC) Otherwise you'll need to do it the hard way
Jason
http://www.netcomuk.co.uk/~jbrooks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|