Click here to Skip to main content
15,887,267 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
QuestionHowto put a TrackBar in a Menu ? Pin
yarp27-Apr-10 1:07
yarp27-Apr-10 1:07 
QuestionCreating a borderless MDI child window Pin
Member 381982124-Apr-10 0:00
Member 381982124-Apr-10 0:00 
AnswerRe: Creating a borderless MDI child window Pin
Jonathan Davies24-Apr-10 1:06
Jonathan Davies24-Apr-10 1:06 
QuestionProblems while adding custom header with IWebBrowser2 [modified] Pin
arbittorr21-Apr-10 12:14
arbittorr21-Apr-10 12:14 
AnswerRe: Problems while adding custom header with IWebBrowser2 Pin
Stephen Hewitt22-Apr-10 14:09
Stephen Hewitt22-Apr-10 14:09 
GeneralRe: Problems while adding custom header with IWebBrowser2 Pin
arbittorr23-Apr-10 0:18
arbittorr23-Apr-10 0:18 
GeneralRe: Problems while adding custom header with IWebBrowser2 Pin
Jonathan Davies23-Apr-10 1:57
Jonathan Davies23-Apr-10 1:57 
GeneralRe: Problems while adding custom header with IWebBrowser2 Pin
arbittorr23-Apr-10 22:01
arbittorr23-Apr-10 22:01 
Yes I have passed an interface pointer. So, problem is still here. Maybe Refresh () method doesn't invoke DISPID_BEFORENAVIGATE at all?
class CWebBrowserView : public CAxDialogImpl<CWebBrowserView>
{
protected:
   DWebBrowserEventsImpl m_events;
   LPCONNECTIONPOINT m_pCP;
   SHDocVw::IWebBrowser2 *m_pWebBrowser;
....
// Web browser specific code
   m_events.SetParent(this);
   HRESULT hr = GetDlgControl(IDC_EXPLORER1, __uuidof(SHDocVw::IWebBrowser2), (void**) & m_pWebBrowser);
   hr = m_pWebBrowser->QueryInterface(IID_IOleInPlaceActiveObject, (void**) & m_pIOIPAO);
   if (m_pWebBrowser) {

      // subscribe for the web browse event source
      LPCONNECTIONPOINTCONTAINER pCPC = NULL;
      m_pWebBrowser->QueryInterface(IID_IConnectionPointContainer, (LPVOID*)&pCPC);
      pCPC->FindConnectionPoint(__uuidof(SHDocVw::DWebBrowserEventsPtr), &m_pCP);
      pCPC->Release();
      m_pCP->Advise((LPUNKNOWN)&m_events, &m_dwCPCookie);
				
   }
.........

GeneralRe: Problems while adding custom header with IWebBrowser2 Pin
Jonathan Davies24-Apr-10 1:26
Jonathan Davies24-Apr-10 1:26 
QuestionIs it possible to make an activex by WTL Pin
Shuang. Wu15-Apr-10 20:31
Shuang. Wu15-Apr-10 20:31 
AnswerRe: Is it possible to make an activex by WTL Pin
Jonathan Davies15-Apr-10 23:47
Jonathan Davies15-Apr-10 23:47 
GeneralRe: Is it possible to make an activex by WTL Pin
Shuang. Wu16-Apr-10 0:20
Shuang. Wu16-Apr-10 0:20 
GeneralRe: Is it possible to make an activex by WTL Pin
Jonathan Davies16-Apr-10 0:40
Jonathan Davies16-Apr-10 0:40 
AnswerRe: Is it possible to make an activex by WTL Pin
«_Superman_»16-Apr-10 8:02
professional«_Superman_»16-Apr-10 8:02 
GeneralRe: Is it possible to make an activex by WTL Pin
Shuang. Wu18-Apr-10 6:00
Shuang. Wu18-Apr-10 6:00 
GeneralRe: Is it possible to make an activex by WTL Pin
Jonathan Davies24-Apr-10 1:33
Jonathan Davies24-Apr-10 1:33 
AnswerRe: Is it possible to make an activex by WTL Pin
XTL_FANS13-May-10 14:30
XTL_FANS13-May-10 14:30 
QuestionCOM DLL Registration Pin
HakunaMatada14-Apr-10 21:44
HakunaMatada14-Apr-10 21:44 
AnswerRe: COM DLL Registration Pin
HakunaMatada15-Apr-10 0:15
HakunaMatada15-Apr-10 0:15 
GeneralRe: COM DLL Registration Pin
Jonathan Davies15-Apr-10 1:46
Jonathan Davies15-Apr-10 1:46 
AnswerRe: COM DLL Registration Pin
Jonathan Davies15-Apr-10 1:39
Jonathan Davies15-Apr-10 1:39 
GeneralRe: COM DLL Registration Pin
HakunaMatada15-Apr-10 3:04
HakunaMatada15-Apr-10 3:04 
Questionoutlook 2007 automation Pin
tristan jung4-Apr-10 16:57
tristan jung4-Apr-10 16:57 
AnswerRe: outlook 2007 automation Pin
Garth J Lancaster4-Apr-10 18:42
professionalGarth J Lancaster4-Apr-10 18:42 
AnswerRe: outlook 2007 automation Pin
Stuart Dootson14-Apr-10 22:01
professionalStuart Dootson14-Apr-10 22:01 

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.