J
Joe
Hi,
I am trying to alter the refresh rate of an online webpage in a webbrowser
control using MFC. However the Timer ID is stored in a local variable and I
don't know how to access it. Is there a technique in Javascript that I might
be able to use/adapt?
I have a timer set within a prototype thus:
;HControl.prototype.setFLTimeout = function() {
var oFLTimeout = setTimeout("hCtrl.mkView.reloadFL();", iFLTimeout);
}
But the timer Id oFLTimeout is local so, once the page is loaded how can I
access and stop the timer to prevent the page refreshing (or perhaps "reset"
it to my own bespoke rate)?
The only way I know how is using clearTimeout(), however this method
requires the timer ID.
Can I "list" all the timers somehow?
I really am stumped and would like some advise on how I can progress.
Thanks
I am trying to alter the refresh rate of an online webpage in a webbrowser
control using MFC. However the Timer ID is stored in a local variable and I
don't know how to access it. Is there a technique in Javascript that I might
be able to use/adapt?
I have a timer set within a prototype thus:
;HControl.prototype.setFLTimeout = function() {
var oFLTimeout = setTimeout("hCtrl.mkView.reloadFL();", iFLTimeout);
}
But the timer Id oFLTimeout is local so, once the page is loaded how can I
access and stop the timer to prevent the page refreshing (or perhaps "reset"
it to my own bespoke rate)?
The only way I know how is using clearTimeout(), however this method
requires the timer ID.
Can I "list" all the timers somehow?
I really am stumped and would like some advise on how I can progress.
Thanks