Click here to Skip to main content
15,906,097 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionSSE2 Pin
galois16-Apr-08 4:37
galois16-Apr-08 4:37 
GeneralRe: SSE2 Pin
Randor 16-Apr-08 7:37
professional Randor 16-Apr-08 7:37 
QuestionHow to inject javascript into webbrowser control Pin
Alexander Fedorov16-Apr-08 4:21
Alexander Fedorov16-Apr-08 4:21 
AnswerRe: How to inject javascript into webbrowser control Pin
led mike16-Apr-08 4:29
led mike16-Apr-08 4:29 
GeneralRe: How to inject javascript into webbrowser control Pin
Alexander Fedorov16-Apr-08 4:50
Alexander Fedorov16-Apr-08 4:50 
GeneralRe: How to inject javascript into webbrowser control Pin
led mike16-Apr-08 5:02
led mike16-Apr-08 5:02 
GeneralRe: How to inject javascript into webbrowser control Pin
Alexander Fedorov16-Apr-08 5:11
Alexander Fedorov16-Apr-08 5:11 
GeneralRe: How to inject javascript into webbrowser control Pin
led mike16-Apr-08 5:27
led mike16-Apr-08 5:27 
Alexander Fedorov wrote:
but how do I inject something that can write into the page without erasing it?

Well you already have the inject part working correct? So you need to figure out how to modify the HTML using javascript without using document.write. AFAIK you would use the HTML DOM[^] to do that. So for example say you had a page with span element in it and you wanted to change the text in the span to say "Code Project". You would get the reference to span element using the HTML DOM and then:

theSpan.innerText = "Code Project";

something like that for IE but all browsers are not equal. Of course how you get the reference to the span element depends on the page you are working with.


led mike

GeneralUsing .Net function in vc++ [modified] Pin
rp_suman16-Apr-08 3:01
rp_suman16-Apr-08 3:01 
GeneralRe: Using .Net function in vc++ Pin
Iain Clarke, Warrior Programmer16-Apr-08 3:28
Iain Clarke, Warrior Programmer16-Apr-08 3:28 
GeneralProblem: HANDLE when same name in exe and DLL Pin
janadhana16-Apr-08 1:50
janadhana16-Apr-08 1:50 
GeneralRe: Problem: HANDLE when same name in exe and DLL Pin
Iain Clarke, Warrior Programmer16-Apr-08 2:10
Iain Clarke, Warrior Programmer16-Apr-08 2:10 
GeneralRe: Problem: HANDLE when same name in exe and DLL Pin
janadhana16-Apr-08 2:17
janadhana16-Apr-08 2:17 
GeneralRe: Problem: HANDLE when same name in exe and DLL Pin
CPallini16-Apr-08 2:23
mveCPallini16-Apr-08 2:23 
GeneralRe: Problem: HANDLE when same name in exe and DLL Pin
janadhana16-Apr-08 2:27
janadhana16-Apr-08 2:27 
General3D graph printing Pin
danandu16-Apr-08 1:48
danandu16-Apr-08 1:48 
GeneralRe: 3D graph printing Pin
Schehaider_Aymen16-Apr-08 2:06
Schehaider_Aymen16-Apr-08 2:06 
GeneralRe: 3D graph printing Pin
danandu16-Apr-08 23:51
danandu16-Apr-08 23:51 
GeneralCalculating System ON times Pin
nisha0000016-Apr-08 1:18
nisha0000016-Apr-08 1:18 
GeneralRe: Calculating System ON times Pin
David Crow16-Apr-08 3:03
David Crow16-Apr-08 3:03 
GeneralRe: Calculating System ON times Pin
Tony Hill16-Apr-08 3:40
professionalTony Hill16-Apr-08 3:40 
GeneralSet The MFC layout like wind theme Pin
Schehaider_Aymen16-Apr-08 0:39
Schehaider_Aymen16-Apr-08 0:39 
GeneralRe: Set The MFC layout like wind theme Pin
Schehaider_Aymen16-Apr-08 1:05
Schehaider_Aymen16-Apr-08 1:05 
GeneralRe: Set The MFC layout like wind theme Pin
Iain Clarke, Warrior Programmer16-Apr-08 2:18
Iain Clarke, Warrior Programmer16-Apr-08 2:18 
GeneralRe: Set The MFC layout like wind theme Pin
Schehaider_Aymen16-Apr-08 2:20
Schehaider_Aymen16-Apr-08 2:20 

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.