Click here to Skip to main content
15,916,842 members

Comments by l-O_O-l (Top 3 by date)

l-O_O-l 25-Feb-16 2:07am View    
I'm sorry, but I'm not ask the events of javascript. What I asked is the events browser post when closing tabs. I'm doing VC++/MFC things.
l-O_O-l 17-Feb-16 3:47am View    
Yes, this is the right answer. I also got the answer from this link: http://www.programmershare.com/2296226/. Thank you very much!
l-O_O-l 16-Feb-16 21:01pm View    
Actually, I just come from that link, I meet the same question, totally the same. I have tried in the function OnBeforeNavigate2. But I don't know how to set the header, because according to the paramenter of that function. virtual void OnBeforeNavigate2(LPCTSTR lpszURL,DWORD nFlags,LPCTSTR lpszTargetFrameName,CByteArray& baPostedData,LPCTSTR lpszHeaders,BOOL* pbCancel); the lpszHeaders is passed by value, I can't change it after this function done. So I question here.