Click here to Skip to main content
15,798,111 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CChildFrame in separate thread Pin
_Flaviu15-Jul-18 23:52
_Flaviu15-Jul-18 23:52 
GeneralRe: CChildFrame in separate thread Pin
Jochen Arndt16-Jul-18 0:21
professionalJochen Arndt16-Jul-18 0:21 
GeneralRe: CChildFrame in separate thread Pin
_Flaviu16-Jul-18 1:36
_Flaviu16-Jul-18 1:36 
GeneralRe: CChildFrame in separate thread Pin
Jochen Arndt16-Jul-18 1:41
professionalJochen Arndt16-Jul-18 1:41 
GeneralRe: CChildFrame in separate thread Pin
_Flaviu16-Jul-18 2:27
_Flaviu16-Jul-18 2:27 
GeneralRe: CChildFrame in separate thread Pin
Jochen Arndt16-Jul-18 3:49
professionalJochen Arndt16-Jul-18 3:49 
GeneralRe: CChildFrame in separate thread Pin
_Flaviu16-Jul-18 4:07
_Flaviu16-Jul-18 4:07 
QuestionTrace a CString Pin
_Flaviu14-Jul-18 23:26
_Flaviu14-Jul-18 23:26 
I have few methods, in a CDocument class, which read from IHTMLElement get_tagName.

C++
BSTR bstrTagName;
CString sTempTagName;
if (! FAILED(pElem->get_tagName(&bstrTagName)))
{
    sTempTagName = bstrTagName;
    sTempTagName.MakeLower();
    AfxMessageBox(sTempTagName);
    SysFreeString(bstrTagName);
}

which show in MessageBox html tags: input, div, span, and so on ...
if I try
C++
BSTR bstrTagName;
CString sTempTagName;
if (! FAILED(pElem->get_tagName(&bstrTagName)))
{
    sTempTagName = bstrTagName;
    sTempTagName.MakeLower();
    TRACE("%s\n", sTempTagName);
    SysFreeString(bstrTagName);
}

I have in my debug window the first letter of every read tag:
i
d
s
and no entire html tag ... why in MessageBox I see whole word, but in TRACE macro I don't ?
AnswerRe: Trace a CString Pin
Richard MacCutchan15-Jul-18 3:00
mveRichard MacCutchan15-Jul-18 3:00 
SuggestionRe: Trace a CString Pin
David Crow15-Jul-18 17:27
David Crow15-Jul-18 17:27 
GeneralRe: Trace a CString Pin
_Flaviu15-Jul-18 23:04
_Flaviu15-Jul-18 23:04 
SuggestionRe: Trace a CString Pin
David Crow16-Jul-18 2:48
David Crow16-Jul-18 2:48 
GeneralRe: Trace a CString Pin
tony.attwood@ntlworld.com5-May-23 7:00
tony.attwood@ntlworld.com5-May-23 7:00 
AnswerRe: Trace a CString Pin
Jochen Arndt16-Jul-18 0:12
professionalJochen Arndt16-Jul-18 0:12 
Questionmapping pthread id to custom id Pin
meerokh13-Jul-18 6:51
meerokh13-Jul-18 6:51 
GeneralRe: mapping pthread id to custom id Pin
Richard MacCutchan13-Jul-18 21:48
mveRichard MacCutchan13-Jul-18 21:48 
GeneralRe: mapping pthread id to custom id Pin
meerokh14-Jul-18 1:24
meerokh14-Jul-18 1:24 
GeneralRe: mapping pthread id to custom id Pin
Richard MacCutchan14-Jul-18 4:36
mveRichard MacCutchan14-Jul-18 4:36 
QuestionHow to disable a HTML Input in c# Pin
Member 1219465611-Jul-18 16:50
Member 1219465611-Jul-18 16:50 
AnswerRe: How to disable a HTML Input in c# Pin
Bryian Tan11-Jul-18 18:30
professionalBryian Tan11-Jul-18 18:30 
Questionc++ - std :: map - Is my idea too dirty? Pin
User 1106097911-Jul-18 9:40
User 1106097911-Jul-18 9:40 
GeneralRe: c++ - std :: map - Is my idea too dirty? Pin
harold aptroot11-Jul-18 10:48
harold aptroot11-Jul-18 10:48 
PraiseRe: c++ - std :: map - Is my idea too dirty? Pin
User 1106097911-Jul-18 10:54
User 1106097911-Jul-18 10:54 
AnswerRe: c++ - std :: map - Is my idea too dirty? Pin
Richard MacCutchan11-Jul-18 20:44
mveRichard MacCutchan11-Jul-18 20:44 
GeneralRe: c++ - std :: map - Is my idea too dirty? Pin
harold aptroot12-Jul-18 13:34
harold aptroot12-Jul-18 13:34 

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.