Click here to Skip to main content
16,011,988 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Get text associated with 'Edit Control' in MFC Pin
Paresh Chitte10-Oct-07 21:39
Paresh Chitte10-Oct-07 21:39 
GeneralRe: Get text associated with 'Edit Control' in MFC Pin
CodingLover10-Oct-07 22:21
CodingLover10-Oct-07 22:21 
GeneralRe: Get text associated with 'Edit Control' in MFC Pin
jhwurmbach10-Oct-07 22:37
jhwurmbach10-Oct-07 22:37 
GeneralRe: Get text associated with 'Edit Control' in MFC Pin
CodingLover10-Oct-07 22:43
CodingLover10-Oct-07 22:43 
GeneralRe: Get text associated with 'Edit Control' in MFC Pin
jhwurmbach10-Oct-07 22:59
jhwurmbach10-Oct-07 22:59 
GeneralRe: Get text associated with 'Edit Control' in MFC Pin
CodingLover10-Oct-07 23:05
CodingLover10-Oct-07 23:05 
AnswerRe: Get text associated with 'Edit Control' in MFC Pin
chandu00410-Oct-07 22:24
chandu00410-Oct-07 22:24 
GeneralRe: Get text associated with 'Edit Control' in MFC Pin
CodingLover10-Oct-07 22:40
CodingLover10-Oct-07 22:40 
Wow, it works. That mean I have to use two arguments with it.

Thanks.Big Grin | :-D

At the same time I'll try to write that string to a text file. Done it as follows.

<br />
        char tempBufferOne[256] ;<br />
<br />
	GetDlgItemText(IDC_S_WRITE, readString) ;<br />
	AfxMessageBox(readString) ;<br />
	openFile.Write(readString, 256) ;<br />


Here I comes with mess. It writes the text to the text file. What happened is after writing text to the file, if it is not fill the buffer size, print some annoying characters. How can I avoid it.Smile | :)

I appreciate your help all the time...

GeneralRe: Get text associated with 'Edit Control' in MFC [modified] Pin
chandu00410-Oct-07 23:08
chandu00410-Oct-07 23:08 
GeneralRe: Get text associated with 'Edit Control' in MFC Pin
CodingLover10-Oct-07 23:30
CodingLover10-Oct-07 23:30 
GeneralRe: Get text associated with 'Edit Control' in MFC Pin
chandu00411-Oct-07 1:31
chandu00411-Oct-07 1:31 
GeneralRe: Get text associated with 'Edit Control' in MFC Pin
CodingLover11-Oct-07 1:44
CodingLover11-Oct-07 1:44 
QuestionRe: Get text associated with 'Edit Control' in MFC Pin
CodingLover11-Oct-07 18:02
CodingLover11-Oct-07 18:02 
AnswerRe: Get text associated with 'Edit Control' in MFC Pin
CodingLover11-Oct-07 19:59
CodingLover11-Oct-07 19:59 
GeneralRe: Get text associated with 'Edit Control' in MFC Pin
chandu00411-Oct-07 21:31
chandu00411-Oct-07 21:31 
AnswerRe: Get text associated with 'Edit Control' in MFC Pin
chandu00411-Oct-07 21:30
chandu00411-Oct-07 21:30 
GeneralRe: Get text associated with 'Edit Control' in MFC Pin
CodingLover11-Oct-07 21:38
CodingLover11-Oct-07 21:38 
QuestionRGB from bmp instead from desktop? Pin
purplee8510-Oct-07 21:08
purplee8510-Oct-07 21:08 
AnswerRe: RGB from bmp instead from desktop? Pin
Nishad S10-Oct-07 21:16
Nishad S10-Oct-07 21:16 
AnswerRe: RGB from bmp instead from desktop? Pin
Nibu babu thomas10-Oct-07 21:34
Nibu babu thomas10-Oct-07 21:34 
QuestionOS compatibility!! Pin
vipin_nvk10-Oct-07 21:01
vipin_nvk10-Oct-07 21:01 
AnswerRe: OS compatibility!! Pin
Matthew Faithfull10-Oct-07 23:06
Matthew Faithfull10-Oct-07 23:06 
QuestionMouse Click Message From Desktop Pin
ashishbhatt10-Oct-07 20:52
ashishbhatt10-Oct-07 20:52 
AnswerRe: Mouse Click Message From Desktop Pin
Nishad S10-Oct-07 21:23
Nishad S10-Oct-07 21:23 
GeneralRe: Mouse Click Message From Desktop Pin
Nishad S10-Oct-07 23:23
Nishad S10-Oct-07 23:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.