Click here to Skip to main content
15,920,217 members
Home / Discussions / COM
   

COM

 
GeneralCom and an ADO ConnectionPtr Pin
AndyC5-Apr-01 6:39
AndyC5-Apr-01 6:39 
QuestionCompound document server, is it possible with ATL ? Pin
Braulio Dez5-Apr-01 0:37
Braulio Dez5-Apr-01 0:37 
QuestionCompound document server, is it possible with ATL ? Pin
Braulio Dez5-Apr-01 0:37
Braulio Dez5-Apr-01 0:37 
GeneralBSTR / string Pin
William Bartholomew4-Apr-01 18:19
William Bartholomew4-Apr-01 18:19 
GeneralRe: BSTR / string Pin
Erik Thompson4-Apr-01 19:25
sitebuilderErik Thompson4-Apr-01 19:25 
GeneralRe: BSTR / string Pin
5-Apr-01 0:39
suss5-Apr-01 0:39 
GeneralRe: BSTR / string Pin
5-Apr-01 0:39
suss5-Apr-01 0:39 
GeneralNo keyboard in IWebBrowser2 Pin
Angus4-Apr-01 6:19
Angus4-Apr-01 6:19 
I'm hosting the IWebBrowser2 object in a window (based on CWindowImpl). the mouse works perfectly within the browser, as does all navigation, however, I can not type within a textbox on a web page. Do I have to implement IDispach:Invoke and then redirect all keyboard events back to the browser? If so, how?
The relevant section of code for hosting the browser is

class CTest : public CWindowImpl>Ctest<

CTest() {
Create( phWnd, rcClient, _T("Browser"), WS_CHILD | WS_VSCROLL | WS_HSCROLL);
}

HRESULT CTest::DoAddBrowser(CComVariant t_URL) {
CAxWindow wnd(this->m_hWnd);
HRESULT hr = wnd.CreateControl(IDH_DEFAULTPAGE);
if (SUCCEEDED(hr)) {
hr = wnd.QueryControl(IID_IWebBrowser2, reinterpret_cast<void**>(&m_pIWebBrowser));
return m_pIWebBrowser->Navigate2(&t_URL,NULL,NULL,NULL,NULL);
}
return hr;
}
};

Thanks

Angus
GeneralRe: No keyboard in IWebBrowser2 Pin
Michael Dunn5-Apr-01 8:49
sitebuilderMichael Dunn5-Apr-01 8:49 
GeneralCWindowImpl and WS_POPUP style Pin
Angus4-Apr-01 6:08
Angus4-Apr-01 6:08 
GeneralRe: CWindowImpl and WS_POPUP style Pin
Angus8-Apr-01 22:09
Angus8-Apr-01 22:09 
GeneralSTL: How can I delete a <list>... Pin
Braulio Dez4-Apr-01 5:28
Braulio Dez4-Apr-01 5:28 
GeneralRe: STL: How can I delete a <list>... Pin
MikeG5-Apr-01 5:25
MikeG5-Apr-01 5:25 
GeneralSTL: How can I delete a <list>... Pin
Braulio Dez4-Apr-01 5:27
Braulio Dez4-Apr-01 5:27 
GeneralHelp with Unusal Debug Error. Pin
Joseph Dempsey2-Apr-01 4:36
Joseph Dempsey2-Apr-01 4:36 
GeneralRe: Help with Unusal Debug Error. Pin
Chris Losinger2-Apr-01 5:34
professionalChris Losinger2-Apr-01 5:34 
GeneralRe: Help with Unusal Debug Error. Pin
Joseph Dempsey2-Apr-01 5:39
Joseph Dempsey2-Apr-01 5:39 
GeneralActiveX Controls and Downloading Pin
31-Mar-01 11:49
suss31-Mar-01 11:49 
GeneralMessage Map in ATL Server Pin
28-Mar-01 5:04
suss28-Mar-01 5:04 
QuestionHow to add New ATL-object to MFC Application? Pin
27-Mar-01 18:21
suss27-Mar-01 18:21 
AnswerRe: How to add New ATL-object to MFC Application? Pin
pba_11-Apr-01 1:04
pba_11-Apr-01 1:04 
QuestionHow to add New ATL-object to MFC Application? Pin
27-Mar-01 18:15
suss27-Mar-01 18:15 
GeneralPlease help me! I'm lost! (Again!) Pin
26-Mar-01 10:17
suss26-Mar-01 10:17 
GeneralAcces Violation with oledb CoUninitialize() instruction Pin
25-Mar-01 23:14
suss25-Mar-01 23:14 
GeneralVB ActiveX DLL with VC question Pin
Amit Dey25-Mar-01 9:51
Amit Dey25-Mar-01 9:51 

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.