Tab key and delete key is not working in win32 browser control
-
Tab key and delete key is not working in browser control
-
Tab key and delete key is not working in browser control
-
yes i created one web browser control in win32 ,it is working fine but tab key and delete key is not working. i implemented IInputObject interface but HRESULT HasFocusIO();HRESULT TranslateAcceleratorIO( LPMSG lpMsg); HRESULT UIActivateIO( BOOL fActivate, MSG *pMsg); these methods not calling please check my class // AX.H #include #include #include // messages #define AX_QUERYINTERFACE (WM_USER + 1) #define AX_INPLACE (WM_USER + 2) #define AX_GETAXINTERFACE (WM_USER + 3) #define AX_CONNECTOBJECT (WM_USER + 4) #define AX_DISCONNECTOBJECT (WM_USER + 5) #define AX_SETDATAADVISE (WM_USER + 6) #define AX_DOVERB (WM_USER + 7) #ifndef GWL_USERDATA #define GWL_USERDATA (-21) #endif #ifndef GWL_HINSTANCE #define GWL_HINSTANCE (-6) #endif // Registration function ATOM AXRegister(); // Class AXClientSide class AXClientSite : public IOleClientSite, public IDispatch, public IAdviseSink, public IOleInPlaceSite, public IOleInPlaceFrame, /* public IDocHostUIHandler,*/ /*public IOleControlSite,*/ /*public IOleInPlaceActiveObject,*/ public IInputObject ///*public IDocHostUIHandler2, //public IDocHostShowUI*/ { protected: int refNum; public: HWND Window; HWND Parent; HMENU Menu; bool InPlace; bool ExternalPlace; bool CalledCanInPlace; class AX* ax; // MyClientSite Methods AXClientSite(); virtual ~AXClientSite(); STDMETHODIMP_(void) OnDataChange2(FORMATETC*); // IUnknown methods STDMETHODIMP QueryInterface(REFIID iid,void**ppvObject); STDMETHODIMP_(ULONG) AddRef(); STDMETHODIMP_(ULONG) Release(); // IOleClientSite methods STDMETHODIMP SaveObject(); STDMETHODIMP GetMoniker(DWORD dwA,DWORD dwW,IMoniker**pm); STDMETHODIMP GetContainer(IOleContainer**pc); STDMETHODIMP ShowObject(); STDMETHODIMP OnShowWindow(BOOL f); STDMETHODIMP RequestNewObjectLayout(); // IAdviseSink methods STDMETHODIMP_(void) OnDataChange(FORMATETC *pFormatEtc,STGMEDIUM *pStgmed); STDMETHODIMP_(void) OnViewChange(DWORD dwAspect,LONG lIndex); STDMETHODIMP_(void) OnRename(IMoniker * pmk); STDMETHODIMP_(void) OnSave(); STDMETHODIMP_(void) OnClose(); // IOleInPlaceSite methods STDMETHODIMP GetWindow(HWND *p); STDMETHODIMP ContextSensitiveHelp(BOOL); STDMETHODIMP CanInPlaceActivate(); STDMETHODIMP OnInPlaceActivate(); STDMETHODIMP OnUIActivate(); STDMETHODIMP G
-
yes i created one web browser control in win32 ,it is working fine but tab key and delete key is not working. i implemented IInputObject interface but HRESULT HasFocusIO();HRESULT TranslateAcceleratorIO( LPMSG lpMsg); HRESULT UIActivateIO( BOOL fActivate, MSG *pMsg); these methods not calling please check my class // AX.H #include #include #include // messages #define AX_QUERYINTERFACE (WM_USER + 1) #define AX_INPLACE (WM_USER + 2) #define AX_GETAXINTERFACE (WM_USER + 3) #define AX_CONNECTOBJECT (WM_USER + 4) #define AX_DISCONNECTOBJECT (WM_USER + 5) #define AX_SETDATAADVISE (WM_USER + 6) #define AX_DOVERB (WM_USER + 7) #ifndef GWL_USERDATA #define GWL_USERDATA (-21) #endif #ifndef GWL_HINSTANCE #define GWL_HINSTANCE (-6) #endif // Registration function ATOM AXRegister(); // Class AXClientSide class AXClientSite : public IOleClientSite, public IDispatch, public IAdviseSink, public IOleInPlaceSite, public IOleInPlaceFrame, /* public IDocHostUIHandler,*/ /*public IOleControlSite,*/ /*public IOleInPlaceActiveObject,*/ public IInputObject ///*public IDocHostUIHandler2, //public IDocHostShowUI*/ { protected: int refNum; public: HWND Window; HWND Parent; HMENU Menu; bool InPlace; bool ExternalPlace; bool CalledCanInPlace; class AX* ax; // MyClientSite Methods AXClientSite(); virtual ~AXClientSite(); STDMETHODIMP_(void) OnDataChange2(FORMATETC*); // IUnknown methods STDMETHODIMP QueryInterface(REFIID iid,void**ppvObject); STDMETHODIMP_(ULONG) AddRef(); STDMETHODIMP_(ULONG) Release(); // IOleClientSite methods STDMETHODIMP SaveObject(); STDMETHODIMP GetMoniker(DWORD dwA,DWORD dwW,IMoniker**pm); STDMETHODIMP GetContainer(IOleContainer**pc); STDMETHODIMP ShowObject(); STDMETHODIMP OnShowWindow(BOOL f); STDMETHODIMP RequestNewObjectLayout(); // IAdviseSink methods STDMETHODIMP_(void) OnDataChange(FORMATETC *pFormatEtc,STGMEDIUM *pStgmed); STDMETHODIMP_(void) OnViewChange(DWORD dwAspect,LONG lIndex); STDMETHODIMP_(void) OnRename(IMoniker * pmk); STDMETHODIMP_(void) OnSave(); STDMETHODIMP_(void) OnClose(); // IOleInPlaceSite methods STDMETHODIMP GetWindow(HWND *p); STDMETHODIMP ContextSensitiveHelp(BOOL); STDMETHODIMP CanInPlaceActivate(); STDMETHODIMP OnInPlaceActivate(); STDMETHODIMP OnUIActivate(); STDMETHODIMP G
venkatesh52867 wrote:
these methods not calling please check my class
Please do not do this, we cannot go through something like the above trying to figure out what is happening. Use your debugger to narrow down the problem area and post some more specific detail.
Use the best guess