Strange behaviour of IE Webgadget
Posted: Tue Jun 23, 2015 6:33 pm
I open a webpage in an IE-webgadget and click a link. Works well, but however whenever this link is something which opens a phone application (<a href="sip:12345">) it starts the application, everything works correct, but it (the IE-gadget) seems to wait for a response, an answer, what phone-application doesn't give. Meanwhile the whole program is blocked, frozen to ice.
IE, started normaly, out off a webgadget, doesn't show this behaviour.
Now it starts to become very strange, 'cause:
One time I write this code:
OpenWindow(0, 100, 100, 680, 520, "My Program", #PB_Window_MaximizeGadget | #PB_Window_MinimizeGadget)
WebGadget(5, 290, 30, 370, 460, "http://www.mywebpage.tld/sip/whitepages.html") ; WebPage with phone links
Quit = 0
Repeat
WEvent = WindowEvent()
Select WEvent
Case #PB_Event_CloseWindow
Quit = 1
EndSelect
Delay(20)
Until Quit = 1
End
it doesn't show this behaviour, the other time, in another codeblock it shows. Now you can imagine, there is an error in the other code, but it isn't. Even, if I delete the other code, error remains.
I even can't recognize any relationship or difference to UNICODE or ASCII compiling of code, too. I tried everything possible, I can't see any fact for explination of this phenomen.
Now, my questions:
1) Does anyone knows, how to tell the IE within this gadget to stop this?
2) Who can suggest, what reason can be?
Thx,
Achim
--------------------------
PureBasic 5.31 x86 / AMD Athlon 64 X2 2,3 GHz, 2GByte / Win Vista SPack 2 / 32-Bit
IE, started normaly, out off a webgadget, doesn't show this behaviour.
Now it starts to become very strange, 'cause:
One time I write this code:
OpenWindow(0, 100, 100, 680, 520, "My Program", #PB_Window_MaximizeGadget | #PB_Window_MinimizeGadget)
WebGadget(5, 290, 30, 370, 460, "http://www.mywebpage.tld/sip/whitepages.html") ; WebPage with phone links
Quit = 0
Repeat
WEvent = WindowEvent()
Select WEvent
Case #PB_Event_CloseWindow
Quit = 1
EndSelect
Delay(20)
Until Quit = 1
End
it doesn't show this behaviour, the other time, in another codeblock it shows. Now you can imagine, there is an error in the other code, but it isn't. Even, if I delete the other code, error remains.
I even can't recognize any relationship or difference to UNICODE or ASCII compiling of code, too. I tried everything possible, I can't see any fact for explination of this phenomen.
Now, my questions:
1) Does anyone knows, how to tell the IE within this gadget to stop this?
2) Who can suggest, what reason can be?
Thx,
Achim
--------------------------
PureBasic 5.31 x86 / AMD Athlon 64 X2 2,3 GHz, 2GByte / Win Vista SPack 2 / 32-Bit