Click here to Skip to main content
15,907,687 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Making an Installation using Visual Studio 2005 Pin
Cedric Moonen3-May-07 20:58
Cedric Moonen3-May-07 20:58 
AnswerRe: Making an Installation using Visual Studio 2005 Pin
Rajesh R Subramanian3-May-07 21:26
professionalRajesh R Subramanian3-May-07 21:26 
GeneralRe: Making an Installation using Visual Studio 2005 Pin
Michael Dunn3-May-07 21:58
sitebuilderMichael Dunn3-May-07 21:58 
Questionresizable tree control? Mark Salsbery pls come in Pin
nathan73-May-07 17:17
nathan73-May-07 17:17 
QuestionRe: resizable tree control? Mark Salsbery pls come in Pin
David Crow4-May-07 2:58
David Crow4-May-07 2:58 
AnswerRe: resizable tree control? Mark Salsbery pls come in Pin
Mark Salsbery4-May-07 6:59
Mark Salsbery4-May-07 6:59 
GeneralRe: resizable tree control? Mark Salsbery pls come in Pin
nathan76-May-07 23:24
nathan76-May-07 23:24 
QuestionJavascript / DOM Implementing on C++ Pin
Freezerg3-May-07 17:13
Freezerg3-May-07 17:13 
Hi.

This code based on
Building Browser Helper Objects with Visual Studio 2005
Tony Schreiner, John Sudds
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ietechcol/cols/dnexpie/expie_hello_bho.asp

but i trying to manipulating the dom , with other javascript code. how can i do it,
this is the code ;

Code:


void CUygulama::QPencereGoster(IHTMLDocument2* pDocument)
{
HWND hwnd;
HRESULT hr = m_spWebBrowser->get_HWND((LONG_PTR*)&hwnd);
if (SUCCEEDED(hr))
{
// Javascript goes here
}
}


And this is the javascript


Code:



function popupPage() {
var page = "http://www.webservisidomaini.com/panel.php";
windowprops = "location=no,scrollbars=no,menubars=no,toolbars =no ,resizable=no,width=600 height=300";
window.open(page, "Popup", windowprops);}



how can i implement this js to c++ application. i think this need dom scripting. how can i do this ?

in this sample,
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ietechcol/cols/dnexpie/expie_hello_bho.asp
please look for Manipulating the DOM section.

Example BHO code removing images from active web page, now i want to implement other js code, for like this example . How can i do this. any suggestions, resources i 'm looking for.

Thanks
QuestionAccessing data from IE to an application Pin
sweetmonster4073-May-07 14:00
sweetmonster4073-May-07 14:00 
AnswerRe: Accessing data from IE to an application Pin
George L. Jackson3-May-07 16:52
George L. Jackson3-May-07 16:52 
Questionsscanf problem Pin
acerunner3163-May-07 13:45
acerunner3163-May-07 13:45 
QuestionRe: sscanf problem Pin
Mark Salsbery3-May-07 13:53
Mark Salsbery3-May-07 13:53 
AnswerRe: sscanf problem Pin
acerunner3163-May-07 14:00
acerunner3163-May-07 14:00 
GeneralRe: sscanf problem Pin
Mark Salsbery3-May-07 14:14
Mark Salsbery3-May-07 14:14 
GeneralRe: sscanf problem Pin
acerunner3163-May-07 14:29
acerunner3163-May-07 14:29 
GeneralRe: sscanf problem [modified] Pin
Mark Salsbery3-May-07 14:39
Mark Salsbery3-May-07 14:39 
QuestionCisual C++/MFC Technical Training Pin
JatinerS3-May-07 13:40
JatinerS3-May-07 13:40 
AnswerRe: Cisual C++/MFC Technical Training Pin
Mark Salsbery3-May-07 13:47
Mark Salsbery3-May-07 13:47 
QuestionCan a Manged Control be used in a CScrollView Window? Pin
earlgraham3-May-07 12:57
earlgraham3-May-07 12:57 
AnswerRe: Can a Manged Control be used in a CScrollView Window? Pin
Mark Salsbery3-May-07 13:40
Mark Salsbery3-May-07 13:40 
GeneralRe: Can a Manged Control be used in a CScrollView Window? Pin
earlgraham4-May-07 12:00
earlgraham4-May-07 12:00 
GeneralRe: Can a Manged Control be used in a CScrollView Window? Pin
Mark Salsbery4-May-07 13:02
Mark Salsbery4-May-07 13:02 
QuestionMFC State Question (Calling MFC UI objects from non-UI objects) Pin
mevatron13-May-07 12:09
mevatron13-May-07 12:09 
QuestionRe: MFC State Question (Calling MFC UI objects from non-UI objects) Pin
Mark Salsbery3-May-07 12:39
Mark Salsbery3-May-07 12:39 
AnswerRe: MFC State Question (Calling MFC UI objects from non-UI objects) Pin
mevatron14-May-07 3:21
mevatron14-May-07 3:21 

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.