Click here to Skip to main content
15,895,656 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: about the access violation error at the malloc sentence Pin
CPallini16-Apr-08 5:35
mveCPallini16-Apr-08 5:35 
GeneralRe: about the access violation error at the malloc sentence Pin
David Crow16-Apr-08 10:24
David Crow16-Apr-08 10:24 
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 
Alexander Fedorov wrote:
No, I dont think so. This page will say "Hello world!" not just "world!":

Of course because the script is inline and run at that point when the browser is loading the page but that's not what you are doing because you are injecting the script after the page is finished loading. Your scenario is more like this script which will only display "world"

<head>
    <title>Untitled Page</title>
    <script type="text/javascript">
    function loadPage()
    {
        document.write(" world");
    }
    </script>
</head>
<body onload="loadPage();">
hello
</body>
</html>



led mike

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 
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
mveTony 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 

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.