Click here to Skip to main content
15,920,896 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralWTL can support Virus Program Pin
25-Feb-05 18:26
suss25-Feb-05 18:26 
GeneralRe: WTL can support Virus Program Pin
Tarundeep Singh Kalra4-Mar-05 8:33
Tarundeep Singh Kalra4-Mar-05 8:33 
GeneralATL control Pin
muslcesonvacation25-Feb-05 15:15
muslcesonvacation25-Feb-05 15:15 
Generaldialog display failure Pin
tkarven24-Feb-05 0:56
tkarven24-Feb-05 0:56 
GeneralRe: dialog display failure Pin
devom25-Feb-05 20:23
devom25-Feb-05 20:23 
GeneralRe: dialog display failure Pin
tkarven26-Feb-05 1:40
tkarven26-Feb-05 1:40 
General(Beginner) Resource in static lib Pin
Hades_G23-Feb-05 20:44
Hades_G23-Feb-05 20:44 
GeneralWeb Browser Control Pin
Harshapaulp22-Feb-05 23:57
Harshapaulp22-Feb-05 23:57 
The tab key doesnt work in Web Browser Control. The following code is supposed to resolve it. However the keydown message is not fired at all. There is another code below this one which is supposed to resolve even this problem but I dont know where to place it.

Code 1:

LRESULT CMyClass::OnKeydown(UINT uMsg, WPARAM wParam, LPARAM lParam,
BOOL& bHandled)
{
// m_spWebBrowser is a data member of type IWebBrowser2.
// Using CComQIPtr in this way queries m_spWebBrowser
// for the IOleInPlaceActiveObject interface which is
// then stored in the pIOIPAO variable.
//
CComQIPtr<ioleinplaceactiveobject,
&iid_ioleinplaceactiveobject=""> pIOIPAO(m_spWebBrowser);

HRESULT hr = S_FALSE;

if (pIOIPAO)
{
MSG msg;
msg.message = uMsg;
msg.wParam = wParam;
msg.lParam = lParam;

hr = pIOIPAO->TranslateAccelerator(&msg);
}

return hr;

Code 2:

while (GetMessage(&msg, NULL, 0, 0))
{
TranslateMessage(&msg);

// Send all keyboard messages to the window of your
// application. hwndApp is the window handle of
// your application.
//
if (msg.message >= WM_KEYFIRST && msg.message <= WM_KEYLAST)
::SendMessage(hwndApp, msg.message, msg.wParam, msg.lParam);

DispatchMessage(&msg);
}



Harshapaul
GeneralDIID_DWebBrowserEvents2 for dwebbrowserevent2, and ??? for IHTMLImgEvents2 Pin
tkarven22-Feb-05 6:35
tkarven22-Feb-05 6:35 
GeneralRe: DIID_DWebBrowserEvents2 for dwebbrowserevent2, and ??? for IHTMLImgEvents2 Pin
ThatsAlok22-Feb-05 23:35
ThatsAlok22-Feb-05 23:35 
GeneralRe: DIID_DWebBrowserEvents2 for dwebbrowserevent2, and ??? for IHTMLImgEvents2 Pin
tkarven23-Feb-05 7:45
tkarven23-Feb-05 7:45 
GeneralRe: DIID_DWebBrowserEvents2 for dwebbrowserevent2, and ??? for IHTMLImgEvents2 Pin
ThatsAlok23-Feb-05 19:00
ThatsAlok23-Feb-05 19:00 
GeneralRe: DIID_DWebBrowserEvents2 for dwebbrowserevent2, and ??? for IHTMLImgEvents2 Pin
tkarven23-Feb-05 20:27
tkarven23-Feb-05 20:27 
GeneralPostPaint in WTL::CEdit Pin
blueluna22-Feb-05 4:10
blueluna22-Feb-05 4:10 
GeneralRe: PostPaint in WTL::CEdit Pin
Michael Dunn22-Feb-05 7:42
sitebuilderMichael Dunn22-Feb-05 7:42 
Questionfor_each calls copy ctor on functor? Pin
Malcolm Smart21-Feb-05 22:56
Malcolm Smart21-Feb-05 22:56 
AnswerRe: for_each calls copy ctor on functor? Pin
Stuart Dootson22-Feb-05 4:00
professionalStuart Dootson22-Feb-05 4:00 
AnswerRe: for_each calls copy ctor on functor? Pin
Andrew Walker23-Feb-05 10:21
Andrew Walker23-Feb-05 10:21 
GeneralATL Controls Pin
muslcesonvacation21-Feb-05 16:48
muslcesonvacation21-Feb-05 16:48 
GeneralEvent is not catched in script Pin
grinder20-Feb-05 22:55
grinder20-Feb-05 22:55 
GeneralRe: Event is not catched in script Pin
Gevorg22-Feb-05 10:14
Gevorg22-Feb-05 10:14 
GeneralRe: Event is not catched in script Pin
grinder23-Feb-05 1:03
grinder23-Feb-05 1:03 
GeneralPlug-in in IE Pin
Pauwl20-Feb-05 21:46
Pauwl20-Feb-05 21:46 
GeneralATL ActiveX Control Pin
muslcesonvacation20-Feb-05 7:34
muslcesonvacation20-Feb-05 7:34 
GeneralRe: ATL ActiveX Control Pin
Michael Dunn20-Feb-05 11:03
sitebuilderMichael Dunn20-Feb-05 11:03 

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.