Click here to Skip to main content
15,907,183 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to convert char array to const byte array in C Pin
Like2Byte6-Dec-06 5:29
Like2Byte6-Dec-06 5:29 
QuestionHow to add help files into .EXE file Pin
Max++6-Dec-06 3:37
Max++6-Dec-06 3:37 
AnswerRe: How to add help files into .EXE file Pin
David Crow6-Dec-06 5:39
David Crow6-Dec-06 5:39 
AnswerRe: How to add help files into .EXE file Pin
S Douglas9-Dec-06 1:33
professionalS Douglas9-Dec-06 1:33 
QuestionWhat am I doing wrong? Pin
MyFathersSon6-Dec-06 3:30
MyFathersSon6-Dec-06 3:30 
AnswerRe: What am I doing wrong? Pin
Mark Salsbery6-Dec-06 6:26
Mark Salsbery6-Dec-06 6:26 
GeneralRe: What am I doing wrong? Pin
MyFathersSon6-Dec-06 8:47
MyFathersSon6-Dec-06 8:47 
GeneralRe: What am I doing wrong? Pin
Mark Salsbery6-Dec-06 9:16
Mark Salsbery6-Dec-06 9:16 
WM_CHAR would be sent to your editctrl object (which I assume is a CEdit(?)) so you'd need to
override CEdit and in your derived class handle WM_CHAR. That's if you really need to intercept
every char as it is entered by the user.

Anytime you want to extract the text from the edit control (after it is created, of course) you
can use something like
// Copy contents of edit control to a character array...
TCHAR szBuffer = new TCHAR[editctrl.GetWindowTextLength() + 1];
editctrl.GetWindowText(szBuffer, GetWindowTextLength() + 1);
or
// Copy contents of edit control to a CString...
CString str;
editctrl.GetWindowText(str);

GeneralRe: What am I doing wrong? Pin
MyFathersSon8-Dec-06 5:44
MyFathersSon8-Dec-06 5:44 
Questionvsprintf and string. Pin
vikramlinux6-Dec-06 2:18
vikramlinux6-Dec-06 2:18 
AnswerRe: vsprintf and string. Pin
Nibu babu thomas6-Dec-06 2:27
Nibu babu thomas6-Dec-06 2:27 
GeneralRe: vsprintf and string. Pin
vikramlinux6-Dec-06 2:36
vikramlinux6-Dec-06 2:36 
Answeruse PRE tags Pin
toxcct6-Dec-06 2:32
toxcct6-Dec-06 2:32 
AnswerRe: vsprintf and string. Pin
prasad_som6-Dec-06 2:36
prasad_som6-Dec-06 2:36 
GeneralRe: vsprintf and string. Pin
vikramlinux6-Dec-06 2:39
vikramlinux6-Dec-06 2:39 
AnswerRe: vsprintf and string. Pin
prasad_som6-Dec-06 2:47
prasad_som6-Dec-06 2:47 
GeneralRe: vsprintf and string. Pin
Zac Howland6-Dec-06 3:29
Zac Howland6-Dec-06 3:29 
GeneralRe: vsprintf and string. Pin
David Crow6-Dec-06 5:27
David Crow6-Dec-06 5:27 
AnswerRe: vsprintf and string. Pin
Stephen Hewitt6-Dec-06 15:17
Stephen Hewitt6-Dec-06 15:17 
QuestionC3861 _L identifier not found Pin
uday kiran janaswamy6-Dec-06 2:01
uday kiran janaswamy6-Dec-06 2:01 
QuestionRe: C3861 _L identifier not found Pin
prasad_som6-Dec-06 2:14
prasad_som6-Dec-06 2:14 
AnswerRe: C3861 _L identifier not found Pin
Cedric Moonen6-Dec-06 2:16
Cedric Moonen6-Dec-06 2:16 
AnswerRe: C3861 _L identifier not found Pin
Nibu babu thomas6-Dec-06 2:18
Nibu babu thomas6-Dec-06 2:18 
QuestionThread exit handler Pin
harsha_12346-Dec-06 1:59
harsha_12346-Dec-06 1:59 
AnswerRe: Thread exit handler Pin
Mark Salsbery6-Dec-06 6:30
Mark Salsbery6-Dec-06 6:30 

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.