![]() |
|
#1
|
|||
|
|||
CEdit line retrievalI need to get the string from one lined CEdit contol ( the usual one)
I've always been using the dodataexchange function but this time I can't use it I've tried GetLine(0,buffer) function but is seems doesn't retrieve a thing |
|
#2
|
||||
|
||||
|
Quote:
Why don't you use... CPP / C++ / C Code:
Ihope this helps |
|
#3
|
|||
|
|||
|
cause updatedata calls dodataexchange i don't have such a function
But turned out it was my mistake I forgot to write the object next to the function thus compiler was referring to the wrong class, so it wasn't really a mistake but misunderstanding between me and VS :-) |
|
#4
|
|||
|
|||
|
Use
CString strEditText; GetDlgItemText(IDC_EDIT1,strEditText); replace IDC_EDIT1 with whatever your Edit control ID is |
|
#5
|
||||
|
||||
|
Another way would be...
CPP / C++ / C Code:
but the data exchange would be th cleanest way to do this.. __________________
When you say "I wrote a program that crashed Windows," people just stare at you blankly and say "Hey, I got those with the system, for free." Linus Torvalds |
Recent GIDBlog
US Elections and the ?Voter?s Responsibility? by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CD Burner Help - Power Calibration Error.... | JonBoy420 | Computer Hardware Forum | 110 | 05-Feb-2008 19:34 |
| burning problems PLEASE PLEASE HELP | kelticeire | Computer Hardware Forum | 4 | 01-Dec-2006 16:39 |
| CD burner wont burn!! | robertli55 | Computer Hardware Forum | 1 | 18-Jun-2004 11:53 |
| Yet another CD burner problem: Lite-On LSC-24082K | Erwin | Computer Hardware Forum | 1 | 22-May-2004 12:28 |
| CD Buring Failed | skanth2000 | Computer Hardware Forum | 1 | 15-Nov-2003 04:52 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The