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

C / C++ / MFC

 
GeneralRe: text wrapping for a clistctrl Pin
led mike9-Dec-08 6:00
led mike9-Dec-08 6:00 
AnswerRe: text wrapping for a clistctrl Pin
kitkat1201211-Dec-08 8:16
kitkat1201211-Dec-08 8:16 
Questionmsvc struct initialisation query Pin
Jon Hulatt9-Dec-08 2:22
Jon Hulatt9-Dec-08 2:22 
QuestionRe: msvc struct initialisation query Pin
David Crow9-Dec-08 3:00
David Crow9-Dec-08 3:00 
AnswerRe: msvc struct initialisation query Pin
CPallini9-Dec-08 5:11
mveCPallini9-Dec-08 5:11 
Questionis executable digitally signed Pin
K. Sushilkumar9-Dec-08 1:12
K. Sushilkumar9-Dec-08 1:12 
AnswerRe: is executable digitally signed Pin
_AnsHUMAN_ 9-Dec-08 1:47
_AnsHUMAN_ 9-Dec-08 1:47 
QuestionEdit Control Pin
si_699-Dec-08 1:00
si_699-Dec-08 1:00 
Hi
I have an edit control which i have a character counter on

this works fine, but when i exceed 256 chars the cursor jumps to the start of the edit control

For my counter i am using
void CMyMessagePage::OnEnChangeEMsg()
{
UpdateData(TRUE);
int nBytes = lstrlen(m_message);
CString len;
len.Format("%d",nBytes);
m_sms_written = len;
UpdateData(FALSE);
}
Can anyone help

thanks

Simon
AnswerRe: Edit Control Pin
_AnsHUMAN_ 9-Dec-08 1:03
_AnsHUMAN_ 9-Dec-08 1:03 
GeneralRe: Edit Control Pin
si_699-Dec-08 1:09
si_699-Dec-08 1:09 
AnswerRe: Edit Control Pin
BadJerry9-Dec-08 1:25
BadJerry9-Dec-08 1:25 
GeneralRe: Edit Control Pin
si_699-Dec-08 1:30
si_699-Dec-08 1:30 
QuestionHow to make topmost control on dialog? [modified] Pin
aragornx9-Dec-08 0:40
aragornx9-Dec-08 0:40 
AnswerRe: How to make topmost control on dialog? Pin
K. Sushilkumar9-Dec-08 1:18
K. Sushilkumar9-Dec-08 1:18 
AnswerRe: How to make topmost control on dialog? Pin
BadJerry9-Dec-08 1:38
BadJerry9-Dec-08 1:38 
GeneralRe: How to make topmost control on dialog? Pin
aragornx9-Dec-08 2:24
aragornx9-Dec-08 2:24 
QuestionRe: How to make topmost control on dialog? Pin
Y K Kishore Kumar4-Jan-10 1:11
Y K Kishore Kumar4-Jan-10 1:11 
AnswerRe: How to make topmost control on dialog? Pin
KarstenK4-Jan-10 1:55
mveKarstenK4-Jan-10 1:55 
QuestionUsing CView as a child window and CCmdUI Pin
BadJerry9-Dec-08 0:05
BadJerry9-Dec-08 0:05 
QuestionRead Mobile and Phone Number from Outlook Express Pin
Member 39261008-Dec-08 23:49
Member 39261008-Dec-08 23:49 
QuestionRe: Read Mobile and Phone Number from Outlook Express Pin
David Crow9-Dec-08 3:04
David Crow9-Dec-08 3:04 
QuestionHow To Use Thread in Win32 C++ Pin
Avnash0018-Dec-08 22:46
Avnash0018-Dec-08 22:46 
AnswerRe: How To Use Thread in Win32 C++ Pin
CPallini8-Dec-08 22:52
mveCPallini8-Dec-08 22:52 
AnswerRe: How To Use Thread in Win32 C++ Pin
David Crow9-Dec-08 3:07
David Crow9-Dec-08 3:07 
AnswerRe: How To Use Thread in Win32 C++ Pin
Alan Balkany9-Dec-08 3:43
Alan Balkany9-Dec-08 3:43 

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.