Click here to Skip to main content
15,893,381 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Find UpDown Control in a dialog box Pin
Bedke3-Sep-09 19:47
Bedke3-Sep-09 19:47 
GeneralRe: Find UpDown Control in a dialog box Pin
«_Superman_»3-Sep-09 20:50
professional«_Superman_»3-Sep-09 20:50 
GeneralRe: Find UpDown Control in a dialog box Pin
Bedke3-Sep-09 21:28
Bedke3-Sep-09 21:28 
QuestionQuestion for CCheckListBox. Pin
Le@rner3-Sep-09 18:51
Le@rner3-Sep-09 18:51 
AnswerRe: Question for CCheckListBox. Pin
David Crow4-Sep-09 2:54
David Crow4-Sep-09 2:54 
GeneralRe: Question for CCheckListBox. Pin
Le@rner4-Sep-09 2:58
Le@rner4-Sep-09 2:58 
GeneralRe: Question for CCheckListBox. Pin
David Crow4-Sep-09 3:11
David Crow4-Sep-09 3:11 
QuestionProblem with reading a file Pin
Rakesh53-Sep-09 17:43
Rakesh53-Sep-09 17:43 
Hi all,

I want to read the content of the file.(say .txt)

I am using Read method...But Its not reading the entire contents present in the file rather it reads around 50% of the file.

-------------------------
Code Snippet:

CStdioFile docfile;
WCHAR* preadbuf;
if(docfile.open(....))
docfile.read(preadbuf,docfile.getlength());

------------

Please tell me how to solve this problem. please let me know if you have any queries..

Thanks,
Rakesh.
AnswerRe: Problem with reading a file Pin
«_Superman_»3-Sep-09 17:50
professional«_Superman_»3-Sep-09 17:50 
AnswerRe: Problem with reading a file Pin
Cedric Moonen3-Sep-09 20:14
Cedric Moonen3-Sep-09 20:14 
AnswerRe: Problem with reading a file Pin
shuzh3-Sep-09 20:52
shuzh3-Sep-09 20:52 
GeneralRe: Problem with reading a file Pin
Michael Schubert3-Sep-09 21:19
Michael Schubert3-Sep-09 21:19 
AnswerRe: Problem with reading a file Pin
Michael Schubert3-Sep-09 21:24
Michael Schubert3-Sep-09 21:24 
AnswerRe: Problem with reading a file Pin
David Crow4-Sep-09 2:56
David Crow4-Sep-09 2:56 
AnswerRe: Problem with reading a file Pin
kakan4-Sep-09 3:08
professionalkakan4-Sep-09 3:08 
QuestionUpdating UI from thread Pin
_80863-Sep-09 16:54
_80863-Sep-09 16:54 
AnswerRe: Updating UI from thread Pin
«_Superman_»3-Sep-09 17:20
professional«_Superman_»3-Sep-09 17:20 
GeneralRe: Updating UI from thread Pin
_80863-Sep-09 17:39
_80863-Sep-09 17:39 
GeneralRe: Updating UI from thread Pin
«_Superman_»3-Sep-09 17:45
professional«_Superman_»3-Sep-09 17:45 
AnswerRe: Updating UI from thread Pin
Cedric Moonen3-Sep-09 20:03
Cedric Moonen3-Sep-09 20:03 
AnswerRe: Updating UI from thread Pin
Rajesh R Subramanian3-Sep-09 20:16
professionalRajesh R Subramanian3-Sep-09 20:16 
Questionbutton(visible&Enable) but CANNOT be pressed Pin
fitatc3-Sep-09 14:48
fitatc3-Sep-09 14:48 
AnswerRe: button(visible&Enable) but CANNOT be pressed Pin
Eric Haddan4-Sep-09 4:48
Eric Haddan4-Sep-09 4:48 
GeneralRe: button(visible&Enable) but CANNOT be pressed Pin
fitatc6-Sep-09 18:20
fitatc6-Sep-09 18:20 
Questionvector question Pin
RobJones3-Sep-09 11:50
RobJones3-Sep-09 11:50 

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.