How do I make a Web Browser toolbar in C++.
in dev-C++ for I.E with no addon libraries?
Since you use Dev C++ I am assuming you want to make IE Addons?
If thats the case, this should get you started:
Creating Add-ons for Internet Explorer: Toolbars on msdn.microsoft.com
And you should also take a loot at the Guidelines for add-on developers over at IE Blog.
What do you mean by no add on libraries? win32 is an external library, as is libX11, etc. Dev-C++ makes me think that you want pure win32. In that case, you want the common controls. I found this after a quick google: http://hyper.sunjapan.com.cn/~hz/win32/commctl2.htm . Hopefully it helps!
www.besttoolbars.net provides a platfrom for creating toolbar their solution is quite robust and has Javascript API so that you can write all the functionality using Javascript while the toolbar is created on C++.
Related
Does anyone know of any good IE automation libraries (similar to Watin) that work well in C++ and provide a nice layer above MS's WebBrowser control?
You might look at IRobotX ActiveX control from irobotsoft.
You might be interested in the project that INSPIRED Watin - Watir:
http://watir.com/
Watir is Ruby (not C++) ... but it's open source, it's cross platform, and it supports other browsers besides IE. And it doesn't require .Net :)
i like to build desktop application , that will be must user friendly in view
what i mean is that the look and feel will be natural in the way the user used to see windows
apps .
and this toolkit/framework to be as much as possible easy fast to develop from the developer side in c++ .
Could we ask some more questions, what do you mean by user friendly(system integration easy keybingings/Accessibility)?
Which platforms(windows only? You seem to indicate this, if so xp-7?
Would fairly easy crossplatform support be a plus))?
Do you want a form builder? an ide? special libraries?
open source or closed source?
do you mind paying?
qt is probably the most recommended
option although there is also
FLTK
Juce
wxwidgets
gtk+(c based or use with gtk-- a c++ wrapper)
I'd go with Qt.
It's a mature cross platform library that is easy to setup and to use. There's also a ton of resources available. The QT designer can also help you to quickly create your forms. There's even a visual studio plugin for it!
As others have pointed out Qt is a great choice. I went through the same search when I started coding C++ coming from Delphi, and this is where Qt shined. It was the only option I found that offered a complete solution: GUI, DB access, cross-platform system calls (file-access, start-processes), XML, native platform configuration (text files in *nix, win-registry, etc), multi-threading.
It was a one-stop shop for everything I needed.
Is there a way to show an Internet Explorer instance/frame inside a Qt Widget? I need to show a web page in my application (just show, no need for interaction), and while I read about WebKit for Qt, I'd like to know if there is another way without it, since I'm trying to keep the application as small as possible, and it would make me very unhappy to include such a large library (and nobody wants that, right?)
Yes, you need the commercial edition of Qt and then, you can use ActiveQt.
Your windows has 10GiB+ already in windows/system/. I think using WebKit is better investment than making your app depend on such old component as the IE frame... Just my 2c.
I am a newbie working towards developing an IE extension that would appear as an overlay in certain webpages. I am getting started by creating a simple BHO in VS2008 (using C++), but I am wondering how UI may be incorporated within the project. Any ideas?
Just to give you an idea, I'm looking for overlays similar to what was developed by stickis
http://www.stickis.com/faq/
Thanks
You have two real options:
1> Inject your UI into the page as HTML.
2> Overlay your UI (using Windows graphics APIs) over top of the page.
Neither of these is super-simple, I'm afraid. Unfortunately, doing UI is usually the hardest part of building IE addons.
The key question is whether you need a BHO at all. Between context-menu extensions and IE8 Accelerators, you may find that you can let IE do all of the heavy lifting. See www.enhanceie.com/ie/dev.asp for more info.
Using CreateWIndowEx() was what I was looking for :)
I have an ActiveX plugin that we need (if possible) to run in Firefox. Is there a plugin (or other way) for Firefox that will allow this?
I seem to have found a solution:
http://code.google.com/p/ff-activex-host/
"This Firefox plugin makes it possible to use ActiveX controls in Firefox. It is based on the Gecko NPAPI and provides full access to the hosted control (events, functions, properties)."
You used to be able to in Firefox 1.5 but not any longer I believe, the plugin doesnt seem to be supported anymore.
More info here
Not sure if this is helpful or not, but writing an NPAPI plugin for Firefox is fairly straightforward IMO - easier than writing an ActiveX control, so you might find it worthwhile to write one, especially as it should work in all the other browsers "for free".
This is a great example of a simple NPAPI plugin.
I found an other ActiveX plug-in that works.
It is called neptune.
See for more info http://www.meadroid.com/neptune/index.htm
You could also use firebreath, which allows you to easily create a plugin that will work on both firefox and IE; it's easy to create new methods and properties to be exposed to javascript, but you only do it in one place and it works on both browsers.
http://firebreath.googlecode.com
Yeah, I'm one of the project maintainers, so I'm biased =]