Click here to Skip to main content
15,902,447 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: error C2520: conversion from unsigned __int64 to double not implemented, use signed __int64 Pin
Michael Schubert10-Aug-09 3:55
Michael Schubert10-Aug-09 3:55 
QuestionTimestamp of RTP header? Pin
Souldrift9-Aug-09 21:51
Souldrift9-Aug-09 21:51 
AnswerRe: Timestamp of RTP header? Pin
Stuart Dootson10-Aug-09 0:24
professionalStuart Dootson10-Aug-09 0:24 
QuestionHow to build .mc file Pin
Aabid9-Aug-09 20:42
Aabid9-Aug-09 20:42 
AnswerRe: How to build .mc file Pin
Garth J Lancaster9-Aug-09 21:34
professionalGarth J Lancaster9-Aug-09 21:34 
GeneralRe: How to build .mc file Pin
Aabid9-Aug-09 23:49
Aabid9-Aug-09 23:49 
QuestionMessage Hook in OCX causes IME issue Pin
Nishad S9-Aug-09 20:22
Nishad S9-Aug-09 20:22 
QuestionCEditBox Validation Pin
shiv@nand9-Aug-09 20:02
shiv@nand9-Aug-09 20:02 
I want to Validate a EditBox only number entry, including (+ or - values).I used SpanIncluding function of CString. my code is
CString value;
value=m_strEditBox.SpanIncluding ("0123456789-+");

if(!(value==m_strEditBox && value.GetLength ()==m_strEditBox.GetLength ()))
{
MessageBox(_T("Invalid Entry"),MB_OK,MB_ICONINFORMATION);

return;
}
it works fine only when user enters like -10 or +15.

But if user enters wrong value like 10- or -14- or +15-20 or ----- or +++++ for this type of values entry ,the above condition will not work it will not fire the error Message like Invalid Entry.For this i am getting strange output so how to restrict or validate for this type of entry in EditBox.Help me. Thanks in Advance.
AnswerRe: CEditBox Validation Pin
Chandrasekharan P9-Aug-09 20:10
Chandrasekharan P9-Aug-09 20:10 
QuestionWindows ThumbNail Pin
002comp9-Aug-09 19:27
002comp9-Aug-09 19:27 
AnswerRe: Windows ThumbNail Pin
Adam Roderick J9-Aug-09 20:09
Adam Roderick J9-Aug-09 20:09 
GeneralRe: Windows ThumbNail Pin
002comp9-Aug-09 20:31
002comp9-Aug-09 20:31 
GeneralRe: Windows ThumbNail Pin
002comp9-Aug-09 21:11
002comp9-Aug-09 21:11 
QuestionRe: Windows ThumbNail Pin
Adam Roderick J9-Aug-09 22:08
Adam Roderick J9-Aug-09 22:08 
AnswerRe: Windows ThumbNail Pin
002comp9-Aug-09 22:17
002comp9-Aug-09 22:17 
GeneralRe: Windows ThumbNail Pin
Adam Roderick J10-Aug-09 2:18
Adam Roderick J10-Aug-09 2:18 
AnswerRe: Windows ThumbNail Pin
Nishad S9-Aug-09 22:21
Nishad S9-Aug-09 22:21 
GeneralRe: Windows ThumbNail Pin
kilt11-Aug-09 6:14
kilt11-Aug-09 6:14 
GeneralRe: Windows ThumbNail Pin
Nishad S11-Aug-09 18:45
Nishad S11-Aug-09 18:45 
AnswerRe: Windows ThumbNail Pin
neil.kuo9-Aug-09 23:00
neil.kuo9-Aug-09 23:00 
AnswerRe: Windows ThumbNail Pin
kilt11-Aug-09 6:13
kilt11-Aug-09 6:13 
QuestionHow to change BSTR in Visual Basic as VC++? Pin
lsh486love9-Aug-09 18:16
lsh486love9-Aug-09 18:16 
AnswerRe: How to change BSTR in Visual Basic as VC++? Pin
Stuart Dootson10-Aug-09 0:39
professionalStuart Dootson10-Aug-09 0:39 
QuestionI want to display a Bitmap on the splitter Pin
lan_63738369-Aug-09 17:43
lan_63738369-Aug-09 17:43 
QuestionNeed help writing a few basic c programs to get through a college course...PAYING OUT THE NOSE!!! Pin
afbmet9-Aug-09 16:37
afbmet9-Aug-09 16:37 

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.