Open an html bubble dialog in IE BHO (C++) - c++

Is there a way to open an html menu as a dialog for my IE BHO? I've tried looking over the web for a snippet that hints how to do that but with no clue.
Any ideas?

You could create own dialog with browse control and put desired HTML here. Check codeproject article how to do such dialog.

Related

Because of fixed header modal box is not working in bootstrap

i have a fixed header which uses a bootstrap class "navbar-fixed-top" on my page. A search icon on click of which i have a modal box.This modal box is not working but when i remove the class "navbar-fixed-top", the modal box is working. I'm not able to fix the issue, please someone help

Changing Slots on Qt Menu Bar (with image)

this is more of a functionality question than programming question but I can't find any other idiot operators like me out there that are having the same problem as me, or haven't figured it out themselves.
I've got a good basic understanding of CLI C++ so I want to get into the Qt Framework. I'm using their tutorials to get started...
http://qt-project.org/doc/qt-5.1/qtdoc/gettingstartedqt.html#adding-menu-items
The tutorial says that all I need is to "right-click an action and select Go to slot > triggered()."
The image below shows in red circles two of the primary places I've tried right clicking. I've also tried going through the menu and looking for things but to no avail. (Question continued below picture.)
Does anyone know what I am doing wrong here or am I reading this wrong? Thanks in advance.
FYI the open button and save button under central widget is for the Open and Save buttons I added, NOT for the menu toolbar open and save functions.
Near the bottom of Qt Creator find the tabs "Action Editor" and "Signals & Slots Editor". Click the "Action Editor" tab to show a list of all the actions in your UI. You should be able to right-click these items and select "Go to slot...".

Sitecore: Programmatically remove the Page Editor Tool bar on top

I am loading a page (item rendering e.g. /sitecore/content/.../Page) inside an IFrame. It shows the Page Editor ribbon as well. I want to hide that tool bar, it is not required in my scenario.
But if I set the source URL for IFrame like http://mysite/somefolder/page.aspx it does not display the Page Editor controls.
That means Page Editor controls gets loaded on demand.
Need to know how to stop loading Page Editor controls on the page.
Please let me know if you know how to stop those controls being loaded to the page.
This is because the page is in Edit mode. Will this page never need to loaded in the page editor? If not then you can add the following to the Page_Load event:
Sitecore.Context.Site.SetDisplayMode(Sitecore.Sites.DisplayMode.Normal, Sitecore.Sites.DisplayModeDuration.ResetAfterRequest);
Otherwise you can append ?sc_mode=normal to the URL when setting the src of the iFrame to achieve the same thing. This way if you want to edit the page outside the iFrame you can use the standard Sitecore Page Editor features.
What were/are you setting the URL of the IFrame to currently (when you get the controls)?
I found a solution, I am hiding this ribbon with CSS, it's a very simple solution,
<style>
/*Hide the edit mode ribbon panel appears in the iframes. Originally added this to Price strategy control.*/
#scWebEditRibbon, #scCrossPiece
{
display: none;
}
</style>

Display html page?

I want to load static web page from resource and to display it as dialog, not like its loaded in internet explorer but like dialog without any menus or borders if possible.
I want to use this page as "GUI", pretty crazy idea yes.
Someone can explain me how to achieve this ? (I dont want any dependencies on my executable).
Thanks in advance.
You can use a webbrowser like this:
http://www.adp-gmbh.ch/win/misc/mshtml/index.html
http://support.microsoft.com/kb/315617/es

XFDF pdf opening in same window in IE

I'm working on a project that collects data from the project then displays it using xfdf to populate a .pdf file. Now when I use Chrome or Firefox it opens in a new tab which is exactly what I want, but some of my clients will be using IE, which opens it in the same window and causes some confusion. What area of the code should I be looking at in order to tackle and solve this problem?
I can show code examples, just let me know what I need to show.
Thanks,
Steve
Edit: When I click 'Print Application' button, it asks me to save or open the file. When they click open, it opens in the same tab, I want it to appear in a new tab.
In my experience, the best way to accomplish this is to alter your template linking to the PDF. For example:
Clicky!
This should work in all browsers.