Vinay Agarwal
Guest
|
Posted:
Thu May 05, 2005 12:24 am Post subject:
Focus issue when invoking netmeeting from webpage |
|
|
I am invoking NM from a webpage as shown in the example
in the NM SDK. A simplified (and cleaned out) version of
this code is provided below.
With Windows XP SP2, whenever a call is issued in this
setup, an alert (<address> is trying to call) is given by
the NM. This alert seems to have a strange focus issue
depending on whether the NM object is visible or
invisible.
If the visibility of NM object is set to be "invisible"
then the alert works as expected. But if the object is
set to be "visible," then the alert window is highlighted
as one would expect when it has focus. But the mouse
keeps the "hourglass" icon as if the webpage has the
focus. The mouse's focus gets corrected if one selects,
from the task bar, first the webpage and then the alert
window. I would appreciate any recommendations on fixing
it. Thanks.
Regards,
Vinay Agarwal
HTML Code for invoking netmeeting from webpage:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
</head>
<body>
<input type="text"
id="CallToAddress"
size="20"
value="5.0.231.148" />
<input type="button"
value ="Call To:"
id="CallToBtn"
onclick="NetMeeting.CallTo
(CallToAddress.value)" />
<br />
<object id="NetMeeting"
classid="CLSID:3E9BAF2D-7A79-11d2-9334-
0000F875AE17"
style="visibility:visible">
<param name="MODE" value="DataOnly" />
</object>
</body>
</html> |
|
Brian Sullivan
Guest
|
Posted:
Thu May 05, 2005 12:24 am Post subject:
Re: Focus issue when invoking netmeeting from webpage |
|
|
On Wed, 4 May 2005 14:13:09 -0700, Vinay Agarwal wrote:
| Quote: | I am invoking NM from a webpage as shown in the example
in the NM SDK. A simplified (and cleaned out) version of
this code is provided below.
With Windows XP SP2, whenever a call is issued in this
setup, an alert (<address> is trying to call) is given by
the NM. This alert seems to have a strange focus issue
depending on whether the NM object is visible or
invisible.
If the visibility of NM object is set to be "invisible"
then the alert works as expected. But if the object is
set to be "visible," then the alert window is highlighted
as one would expect when it has focus. But the mouse
keeps the "hourglass" icon as if the webpage has the
focus. The mouse's focus gets corrected if one selects,
from the task bar, first the webpage and then the alert
window. I would appreciate any recommendations on fixing
it. Thanks.
|
Yes -- from what I can see that happens as well ( at least with the object
visible, I didn't check for when it is not visible).
I don't know of any fix and I doubt any will be forthcoming.
Maybe you use some strategy like toggling to invisible before initiating
the call and then visible afterwards ( I am not sure if that will do what
you want though). |
|