Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
Server Technologies
SDK Documentation
General Reference
Reference
NameCtrl Control
NameCtrl Control

A NameCtrl control is an ActiveX control that allows a Web page to display presence information for people, and it allows the user to take various actions with respect to those people through an on-object user interface (UI) in Windows SharePoint Services.

When a user passes the pointer over the name of a user on a SharePoint site, a function named EnsureIMNControl is called, which is defined in the file OWS.JS. This function creates the NameCtrl control on the page as follows:

new ActiveXObject("Name.NameCtrl.1")

OWS.JS is located in the Local_Drive:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\1033 directory on each front-end Web server in a Windows SharePoint Services deployment.

A developer can create a custom control for displaying presence information if it has the same ProgID (Name.NameCtrl.1), uses the same method or property names, and provides the same functionality that is described in this reference. Functions can be created that handle the event in which the online status of a specified person changes.

When the 2007 Microsoft Office system is installed on the client computer, the NameCtrl control is defined in the NAME.DLL file, a dynamic-link library that is installed on the client during 2007 Office system setup in the Local_Drive:\Program Files\Microsoft Office\OFFICE12 directory.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
I dont understand      Andrew Pearson   |   Edit   |  

I'm reading the section on the ShowOOUI method and the part about iInputType doesnt make sense. Two questions:

1 - If it is just a simple question of if the object was moused over or tabbed selected, couldnt a boolean be used?

2 - What long value do I pass if it was a mouseover and what value do I pass if it was tabbed over? For now I am going to try using the "onMouseOver" event and pass 1 for iInputType.

Tags What's this?: Add a tag
Flag as ContentBug
Question on ShowOOUI method      Pranav Kandula   |   Edit   |  
The ShowOOUI method seem to be dependent on onmouseover event. What if I want to show the presence control regardless of any events ? Why is this designed only for hovers ? I just want to show the presence control/status by default. I am looking for the behavior that is currently available in any Sharepoint list where Modified By column is auto-prefixed by presence control. How do I achieve this ?
Question on ShowOOUI menu      Tom C Bowersox   |   Edit   |  
Is there any way to grey out or hide certain options from users?
I'm trying to use the ShowOOUI menu in an ASP.NET 1.1 application. At my company, we use a non-Microsoft based e-mail client. Because of this, I need to hide the "Add to Exchange" and "Schedule a meeting" options from the pop up menu. Any assistance would be greatly appreciated.
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker