Click here to Skip to main content
15,908,274 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
QuestionThe correct way to clear a embeded map variable [modified] Pin
cy163@hotmail.com28-May-11 3:56
cy163@hotmail.com28-May-11 3:56 
AnswerRe: The correct way to free a map variable Pin
Alain Rist28-May-11 4:09
Alain Rist28-May-11 4:09 
QuestionMFC TabStops issue Pin
kasi1425-May-11 11:43
kasi1425-May-11 11:43 
QuestionHow to remove the "0" from the starting i.e. from the left of the CString Pin
deadlyabbas24-May-11 21:22
deadlyabbas24-May-11 21:22 
AnswerRe: How to remove the "0" from the starting i.e. from the left of the CString Pin
Richard MacCutchan24-May-11 23:27
mveRichard MacCutchan24-May-11 23:27 
AnswerRe: How to remove the "0" from the starting i.e. from the left of the CString Pin
pratik_mishra3530-May-11 18:21
pratik_mishra3530-May-11 18:21 
AnswerRe: How to remove the "0" from the starting i.e. from the left of the CString Pin
Albert Holguin20-Jun-11 13:51
professionalAlbert Holguin20-Jun-11 13:51 
AnswerRe: How to remove the "0" from the starting i.e. from the left of the CString Pin
Shivanand Gupta30-Aug-11 1:44
Shivanand Gupta30-Aug-11 1:44 
here there are two method.

method 1: if your string is numeric then first convert into integer and again change into string.

eg. CString cs("000012345745");
int num = atoi(cs);
cs.Format("%d",num);

method 2:

eg. CString cs("000012345745");

cs.Trim();
int start=0;
while(cs.Mid(start,1)=="0")
{
start++;
}
cs= cs.Mid(start);
QuestionIssue about MSAA hook in Win7 64 bits Pin
ernst2002053023-May-11 4:15
ernst2002053023-May-11 4:15 
QuestionTrapping Windows Media Player (aka WPM) "Exit" Event Pin
MRCres20-May-11 3:38
MRCres20-May-11 3:38 
QuestionError C2440: 'static_cast' cannot convert from __thiscall Pin
Member 458174116-May-11 8:43
Member 458174116-May-11 8:43 
AnswerRe: Error C2440: 'static_cast' cannot convert from __thiscall Pin
Richard MacCutchan16-May-11 12:44
mveRichard MacCutchan16-May-11 12:44 
AnswerRe: Error C2440: 'static_cast' cannot convert from __thiscall Pin
Jinhuang Dai2-Jun-11 14:55
Jinhuang Dai2-Jun-11 14:55 
AnswerRe: Error C2440: 'static_cast' cannot convert from __thiscall Pin
Albert Holguin20-Jun-11 14:03
professionalAlbert Holguin20-Jun-11 14:03 
QuestionDisplaying UTF8 text through mfc application Pin
kishore14612-May-11 20:00
kishore14612-May-11 20:00 
AnswerRe: Displaying UTF8 text through mfc application Pin
Richard MacCutchan12-May-11 22:00
mveRichard MacCutchan12-May-11 22:00 
QuestionPlugIn crashes, but App keeps running - Solution needed Pin
virtualnik10-May-11 3:28
virtualnik10-May-11 3:28 
AnswerRe: PlugIn crashes, but App keeps running - Solution needed Pin
barneyman10-May-11 3:42
barneyman10-May-11 3:42 
GeneralRe: PlugIn crashes, but App keeps running - Solution needed Pin
virtualnik10-May-11 3:49
virtualnik10-May-11 3:49 
GeneralRe: PlugIn crashes, but App keeps running - Solution needed Pin
barneyman10-May-11 3:58
barneyman10-May-11 3:58 
AnswerRe: PlugIn crashes, but App keeps running - Solution needed Pin
Stephen Hewitt11-May-11 6:04
Stephen Hewitt11-May-11 6:04 
QuestionATL alternate to .NET profiling Pin
popchecker6-May-11 18:35
popchecker6-May-11 18:35 
AnswerRe: ATL alternate to .NET profiling Pin
barneyman8-May-11 23:30
barneyman8-May-11 23:30 
QuestionBest CWnd for Keyboard and Mouse Input Pin
Koolski5-May-11 7:21
Koolski5-May-11 7:21 
AnswerRe: Best CWnd for Keyboard and Mouse Input Pin
Richard MacCutchan5-May-11 21:25
mveRichard MacCutchan5-May-11 21:25 

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.