|
How to get WTL3.1? Would you like to send me a copy via Email? Thank you in advance.
|
|
|
|
|
I want to use WebBrowser in dialog, and use event. Thank you.
|
|
|
|
|
Expression: !InlineIsEqualGUID(*m_plibid, GUID_NULL) && "Did you forget to pass the LIBID to CComModule::Init?"
|
|
|
|
|
I am compiling the donut project. However it gave me an error as can be seen below:
Compiling resources...
U:\urop1\Donut.rc(10) : fatal error RC1015: cannot open include file 'atlres.h'.
Error executing rc.exe.
U:\urop1\Donut.rc(10): Could not find the file atlres.h.
I would like to know what is the problem. Thx in advance .
=) hibiki
|
|
|
|
|
download the "WTL" at "microsoft.com"
show me the money
|
|
|
|
|
Per topic
|
|
|
|
|
Hi,
I am able to tab in to the webbrowser and use the keyboard on all the links in the webpage but I am not able to tab out to other buttons/ controls on the panel. I would like to know if there is some way to tab out of the webpage and go to other buttons on the panel.
|
|
|
|
|
* My Compile Environment is:
Visual Studio v6.0 Enterprise Edit. (latest pack) and
Microsoft Platform SDK (latest version) and WTL(3.1)
--------------------Configuration: Donut - Win32 Release--------------------
Compiling...
Donut.cpp
F:\Temp\IDocHostUIHandlerDispatchImpl.h(25) : error C2668: 'InlineIsEqualGUID' : ambiguous call to overloaded function
Error executing cl.exe.
Donut.exe - 1 error(s), 0 warning(s)
|
|
|
|
|
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q243298
or You can update AtlBase.h hidden in the SDK.
|
|
|
|
|
I don't like the IE cotrol. Do you have some experiences with the Mozilla control ? If so could you get me some hints how to integrate it?
|
|
|
|
|
You can get it from
http://www.iol.ie/~locka/mozilla/mozilla.htm
All you have to do is install Mozilla control
and change the Option of Donut.
You need not touch the source code of Donut.
Mozilla control is just a interface to Mozilla.
You may have to get the latest Netscape or something.
|
|
|
|
|
Sorry, I didn't recognize that Donut is so easy to configure. Great work!!
The Mozilla control works now. I have one open problem - the proxy configuration.
Do you have an idea why the option dialog is not displayed? When I choose the IE control it works.
Currently I have Mozilla browser 0.9.9 installed and have registered mozctl.dll and mozctlx.dll myself. I'm not sure if the options are part of the control or if I have to register additional DLL's.
Frank
|
|
|
|
|
I think IE and Mozilla have a different interface
for the option dialog.
Sorry, I don't know Mozilla's.
|
|
|
|
|
OK, I know this is simple, but can't figure it out ...
Deleting intermediate files and output files for project 'Donut - Win32 Release'.
--------------------Configuration: Donut - Win32 Release--------------------
Compiling resources...
Compiling...
stdafx.cpp
Compiling...
Donut.cpp
Linking...
LIBC.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Release/Donut.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
Donut.exe - 2 error(s), 0 warning(s)
So, what am I overlooking in the settings?
Thanks much for the assistance.
KC
|
|
|
|
|
plz turn off ATL_MIN_CRT from predefined symbols, which you can find in build-options.
|
|
|
|
|
Hi:
You use "internetsetoption" function in your project to set the "offline browsing" mode of the webbrowser.But when i try to use this function to do so,VC gives out link errors about the function "internetsetoption",Can this function can be used in Win98?
|
|
|
|
|
Yes. The API itself works on IE3 or later.
VC could miss the help of the API.
|
|
|
|
|
|
I think it's not easy.
MS added the interface to Menu-APIs for drag-drop suppot,
but it's not OLE, which you have to implement.
|
|
|
|
|
can you think give me some hint for the interface MS added to Menu-APIs for drag-drop suppot.
such as some url or resource in MSDN.
|
|
|
|
|
I think it will be hard and
You should find the way to save the menu-order even if you'll get it.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/menus_99df.asp
|
|
|
|
|
Right now i am creating a custom webbrowser using WebBorwser Control in my MDI application.
I open a new window in the seperate frame in the same application and it works fine.
But my problem is that i am unable to handle pop-up window properly all the time.
For normal cases it works fine,but for some sites (like www.raaga.com),the pop-up
window is not coming properly.
For finding whether this window is pop-up or not i am applying the following code
***********************
IWebBrowser2* pWB = NULL;
LPDISPATCH pDisp=GetApplication();
HRESULT hr = pDisp->QueryInterface( IID_IWebBrowser2,(void**)&pWB );
if ( SUCCEEDED(hr) )
{
VARIANT_BOOL IsMenuVisible;
*************// if menubar is not visible means it is pop-up wndow.
if((BOOL)IsMenuVisible==FALSE)
{
long Top=-500,Left=-500,Width=100,Height=100;
********// getting the dimensions of the pop-up window.But not coming properly all the times
pWB->get_Top(&Top);
pWB->get_Left(&Left);
pWB->get_Width(&Width);
pWB->get_Height(&Height);
(GetParentFrame())->MoveWindow(Left,Top,Width,Height);
}
********************************************************
So is it any other way or what to do for my implementation it works for all the times.
Thanx in advance.
|
|
|
|
|
I can't catch your problem exactly, but I think
you'd better stop navigating on OnNewWindow2 which means popups,
and navigate it in another WebBrowser Window in the frame of your application.
|
|
|
|
|
I've tried to compile the latest donut but I get the following errors:
Compiling...
Donut.cpp
d:\_DEV\_LIB\WTL\INCLUDE\atlframe.h(275) : error C2146: syntax error : missing ';' before identifier 'lpnm'
d:\_DEV\_LIB\WTL\INCLUDE\atlframe.h(875) : see reference to class template instantiation 'WTL::CFrameWindowImplBase<tbase,twintraits>' being compiled
d:\_DEV\_LIB\WTL\INCLUDE\atlframe.h(275) : error C2501: 'LPNMREBARCHEVRON' : missing storage-class or type specifiers
d:\_DEV\_LIB\WTL\INCLUDE\atlframe.h(875) : see reference to class template instantiation 'WTL::CFrameWindowImplBase<tbase,twintraits>' being compiled
d:\_DEV\_LIB\WTL\INCLUDE\atlframe.h(275) : error C2501: 'lpnm' : missing storage-class or type specifiers
d:\_DEV\_LIB\WTL\INCLUDE\atlframe.h(875) : see reference to class template instantiation 'WTL::CFrameWindowImplBase<tbase,twintraits>' being compiled
D:\_dev\_code\mtb\mtb2\mtlweb.h(371) : error C2065: 'SHACF_FILESYSTEM' : undeclared identifier
D:\_dev\_code\mtb\mtb2\mtlweb.h(371) : error C2065: 'SHACF_URLALL' : undeclared identifier
D:\_dev\_code\mtb\mtb2\mtlweb.h(371) : error C2065: 'SHACF_USETAB' : undeclared identifier
D:\_dev\_code\mtb\mtb2\mtlctrlw.h(1032) : error C2061: syntax error : identifier 'LPNMREBARCHEVRON'
D:\_dev\_code\mtb\mtb2\mtlctrlw.h(1099) : see reference to class template instantiation 'MTL::CCommandBarCtrl2Impl<t,tbase,twintraits>' being compiled
D:\_dev\_code\mtb\mtb2\mtlctrlw.h(1046) : error C2061: syntax error : identifier 'LPNMREBARCHEVRON'
D:\_dev\_code\mtb\mtb2\mtlctrlw.h(1099) : see reference to class template instantiation 'MTL::CCommandBarCtrl2Impl<t,tbase,twintraits>' being compiled
D:\_dev\_code\mtb\mtb2\mtlctrlw.h(1032) : error C2061: syntax error : identifier 'LPNMREBARCHEVRON'
D:\_dev\_code\mtb\mtb2\mtlctrlw.h(1102) : see reference to class template instantiation 'MTL::CCommandBarCtrl2Impl<class mtl::ccommandbarctrl2,class="" mtl::ccommandbarctrl2base,class="" atl::cwintraits<1442840576,0=""> >' being compiled
D:\_dev\_code\mtb\mtb2\mtlctrlw.h(1046) : error C2061: syntax error : identifier 'LPNMREBARCHEVRON'
D:\_dev\_code\mtb\mtb2\mtlctrlw.h(1102) : see reference to class template instantiation 'MTL::CCommandBarCtrl2Impl<class mtl::ccommandbarctrl2,class="" mtl::ccommandbarctrl2base,class="" atl::cwintraits<1442840576,0=""> >' being compiled
D:\_dev\_code\mtb\mtb2\ChevronHandler.h(27) : error C2146: syntax error : missing ';' before identifier 'lpnm'
D:\_dev\_code\mtb\mtb2\ChevronHandler.h(251) : see reference to class template instantiation 'CChevronHandler<t>' being compiled
D:\_dev\_code\mtb\mtb2\ChevronHandler.h(27) : error C2501: 'LPNMREBARCHEVRON' : missing storage-class or type specifiers
D:\_dev\_code\mtb\mtb2\ChevronHandler.h(251) : see reference to class template instantiation 'CChevronHandler<t>' being compiled
D:\_dev\_code\mtb\mtb2\ChevronHandler.h(27) : error C2501: 'lpnm' : missing storage-class or type specifiers
D:\_dev\_code\mtb\mtb2\ChevronHandler.h(251) : see reference to class template instantiation 'CChevronHandler<t>' being compiled
D:\_dev\_code\mtb\mtb2\ChevronHandler.h(27) : error C2146: syntax error : missing ';' before identifier 'lpnm'
D:\_dev\_code\mtb\mtb2\FavTreeViewCtrl.h(321) : see reference to class template instantiation 'CChevronHandler<class cdonutfavoritesbarimpl<class="" cdonutfavoritesbar,class="" atl::cwindow,class="" atl::cwintraits<1442840576,0=""> > >' being compiled
D:\_dev\_code\mtb\mtb2\FavTreeViewCtrl.h(794) : see reference to class template instantiation 'CDonutFavoritesBarImpl<class cdonutfavoritesbar,class="" atl::cwindow,class="" atl::cwintraits<1442840576,0=""> >' being compiled
D:\_dev\_code\mtb\mtb2\ChevronHandler.h(27) : error C2501: 'LPNMREBARCHEVRON' : missing storage-class or type specifiers
D:\_dev\_code\mtb\mtb2\FavTreeViewCtrl.h(321) : see reference to class template instantiation 'CChevronHandler<class cdonutfavoritesbarimpl<class="" cdonutfavoritesbar,class="" atl::cwindow,class="" atl::cwintraits<1442840576,0=""> > >' being compiled
D:\_dev\_code\mtb\mtb2\FavTreeViewCtrl.h(794) : see reference to class template instantiation 'CDonutFavoritesBarImpl<class cdonutfavoritesbar,class="" atl::cwindow,class="" atl::cwintraits<1442840576,0=""> >' being compiled
D:\_dev\_code\mtb\mtb2\ChevronHandler.h(27) : error C2501: 'lpnm' : missing storage-class or type specifiers
D:\_dev\_code\mtb\mtb2\FavTreeViewCtrl.h(321) : see reference to class template instantiation 'CChevronHandler<class cdonutfavoritesbarimpl<class="" cdonutfavoritesbar,class="" atl::cwindow,class="" atl::cwintraits<1442840576,0=""> > >' being compiled
D:\_dev\_code\mtb\mtb2\FavTreeViewCtrl.h(794) : see reference to class template instantiation 'CDonutFavoritesBarImpl<class cdonutfavoritesbar,class="" atl::cwindow,class="" atl::cwintraits<1442840576,0=""> >' being compiled
D:\_dev\_code\mtb\mtb2\ChevronHandler.h(27) : error C2146: syntax error : missing ';' before identifier 'lpnm'
D:\_dev\_code\mtb\mtb2\DonutToolBar.h(9) : see reference to class template instantiation 'CChevronHandler<class cdonuttoolbar="">' being compiled
D:\_dev\_code\mtb\mtb2\ChevronHandler.h(27) : error C2501: 'LPNMREBARCHEVRON' : missing storage-class or type specifiers
D:\_dev\_code\mtb\mtb2\DonutToolBar.h(9) : see reference to class template instantiation 'CChevronHandler<class cdonuttoolbar="">' being compiled
D:\_dev\_code\mtb\mtb2\ChevronHandler.h(27) : error C2501: 'lpnm' : missing storage-class or type specifiers
D:\_dev\_code\mtb\mtb2\DonutToolBar.h(9) : see reference to class template instantiation 'CChevronHandler<class cdonuttoolbar="">' being compiled
d:\_DEV\_LIB\WTL\INCLUDE\atlframe.h(275) : error C2146: syntax error : missing ';' before identifier 'lpnm'
d:\_DEV\_LIB\WTL\INCLUDE\atlframe.h(1363) : see reference to class template instantiation 'WTL::CFrameWindowImplBase<class wtl::cmdiwindow,class="" atl::cwintraits<1456406528,64=""> >' being compiled
D:\_dev\_code\mtb\mtb2\mtluser.h(399) : see reference to class template instantiation 'WTL::CMDIChildWindowImpl<class cchildframe,class="" wtl::cmdiwindow,class="" atl::cwintraits<1456406528,64=""> >' being compiled
D:\_dev\_code\mtb\mtb2\ChildFrm.h(19) : see reference to class template instantiation 'MTL::CMDIChildWindowImplFixed<class cchildframe,2,class="" wtl::cmdiwindow,class="" atl::cwintraits<1456406528,64=""> >' being compiled
d:\_DEV\_LIB\WTL\INCLUDE\atlframe.h(275) : error C2501: 'LPNMREBARCHEVRON' : missing storage-class or type specifiers
d:\_DEV\_LIB\WTL\INCLUDE\atlframe.h(1363) : see reference to class template instantiation 'WTL::CFrameWindowImplBase<class wtl::cmdiwindow,class="" atl::cwintraits<1456406528,64=""> >' being compiled
D:\_dev\_code\mtb\mtb2\mtluser.h(399) : see reference to class template instantiation 'WTL::CMDIChildWindowImpl<class cchildframe,class="" wtl::cmdiwindow,class="" atl::cwintraits<1456406528,64=""> >' being compiled
D:\_dev\_code\mtb\mtb2\ChildFrm.h(19) : see reference to class template instantiation 'MTL::CMDIChildWindowImplFixed<class cchildframe,2,class="" wtl::cmdiwindow,class="" atl::cwintraits<1456406528,64=""> >' being compiled
d:\_DEV\_LIB\WTL\INCLUDE\atlframe.h(275) : error C2501: 'lpnm' : missing storage-class or type specifiers
d:\_DEV\_LIB\WTL\INCLUDE\atlframe.h(1363) : see reference to class template instantiation 'WTL::CFrameWindowImplBase<class wtl::cmdiwindow,class="" atl::cwintraits<1456406528,64=""> >' being compiled
D:\_dev\_code\mtb\mtb2\mtluser.h(399) : see reference to class template instantiation 'WTL::CMDIChildWindowImpl<class cchildframe,class="" wtl::cmdiwindow,class="" atl::cwintraits<1456406528,64=""> >' being compiled
D:\_dev\_code\mtb\mtb2\ChildFrm.h(19) : see reference to class template instantiation 'MTL::CMDIChildWindowImplFixed<class cchildframe,2,class="" wtl::cmdiwindow,class="" atl::cwintraits<1456406528,64=""> >' being compiled
d:\_DEV\_LIB\WTL\INCLUDE\atlframe.h(275) : error C2146: syntax error : missing ';' before identifier 'lpnm'
d:\_DEV\_LIB\WTL\INCLUDE\atlframe.h(1119) : see reference to class template instantiation 'WTL::CFrameWindowImplBase<class wtl::cmdiwindow,class="" atl::cwintraits<114229248,262400=""> >' being compiled
D:\_dev\_code\mtb\mtb2\MainFrm.h(16) : see reference to class template instantiation 'WTL::CMDIFrameWindowImpl<class cmainframe,class="" wtl::cmdiwindow,class="" atl::cwintraits<114229248,262400=""> >' being compiled
d:\_DEV\_LIB\WTL\INCLUDE\atlframe.h(275) : error C2501: 'LPNMREBARCHEVRON' : missing storage-class or type specifiers
d:\_DEV\_LIB\WTL\INCLUDE\atlframe.h(1119) : see reference to class template instantiation 'WTL::CFrameWindowImplBase<class wtl::cmdiwindow,class="" atl::cwintraits<114229248,262400=""> >' being compiled
D:\_dev\_code\mtb\mtb2\MainFrm.h(16) : see reference to class template instantiation 'WTL::CMDIFrameWindowImpl<class cmainframe,class="" wtl::cmdiwindow,class="" atl::cwintraits<114229248,262400=""> >' being compiled
d:\_DEV\_LIB\WTL\INCLUDE\atlframe.h(275) : error C2501: 'lpnm' : missing storage-class or type specifiers
d:\_DEV\_LIB\WTL\INCLUDE\atlframe.h(1119) : see reference to class template instantiation 'WTL::CFrameWindowImplBase<class wtl::cmdiwindow,class="" atl::cwintraits<114229248,262400=""> >' being compiled
D:\_dev\_code\mtb\mtb2\MainFrm.h(16) : see reference to class template instantiation 'WTL::CMDIFrameWindowImpl<class cmainframe,class="" wtl::cmdiwindow,class="" atl::cwintraits<114229248,262400=""> >' being compiled
Error executing cl.exe.
Donut.exe - 25 error(s), 0 warning(s)
I'm using wtl 3.1 and VC6 with sp5.
What am I doing wrong?
--
pomJ
|
|
|
|
|
Please get new sdk headers and internet-development headers.
|
|
|
|
|