Adding custom toolbar and docking your app to Lync Client main window - lync-2010

I looked over the internet to find out how to add a custom toolbar to Lync client main window as well as to doc my web application to the main window when it triggered by a button on the custom toolbar.
I couldn't find how to implement the functionality, although I could find on youtube Avaya and prairieFyre presentations of their client side with custom toolbars and docked application, so I assume it is doable.
Could somebody refer me to where I can find some info on how to implement that?
Thank you.

This is doable, but not supported by Microsoft. I'd imagine it's done by using Win32 calls to find the Lync windows, and the calling SetParent on your own window to tie the two together - but I haven't tried it.
For a list of supported extensibility points, take a look at this post

Related

VSCODE - How to develop a UI like the Twitter Feedback

In vscode there is a smiley face at the bottom right side of the page.
Does anyone know if there are docs relating to how to develop an extension with a Form-like UI Such as this.
https://www.screencast.com/t/rgIwIO1pVQvv
That is built-in UI. We don't expose it to extensions.
I suggest trying to use existing API functions such as as showQuickPick and showInputBox if you can. If you really need custom UI, take a look at html previews

office js change DOM loaded in task pane

I'm developing an office add-in using office-js (not using VSTO) and I want to access the DOM loaded in the task pane from the java script function-file used in the manifest extension points .
Yes, you can access the DOM loaded in the task pane from your JavaScript function-file. Think of it as if you have two browser windows or tabs and you want to communicate between them. Since the windows don't have access to a reference for one another, postMessage isn't a good solution. One option would be to use localStorage, which triggers an event on all same-domain pages when it changes.
Yes, you can access the DOM loaded in the task pane from your JavaScript function-file. Think of it as if you have two browser windows or tabs and you want to communicate between them. One option would be to use the postMessage() API to notify the task pane and include any information you'd like.
Edit: see my other answer: this solution isn't feasible since the window reference isn't available.

UI Automation Verify v/s UISpy - The way they find UI elements

I am trying to automate UI interactions for a C++ MFC application. I tried to find elements' automation ID using UISpy and UIAVerify tools. I am on win2k3.
There is a tab control, the automation ID of which is visible to UISpy but not to UIAVerify.
The issue is - it is not visible even to the C# code that I write using Project White framework or ui automation framework of .net 3.0.
I want to get handle to this control the way UISpy gets it. Is there any way I can find out how UISpy does it?
Thanks!!!
UISpy is likely using Microsoft UI Automation under the covers. You can see how this works from this example*. There are all kinds of conditions on AutomationElement which you can use to locate them.
I've only worked with WPF tabs, but found it really, really hard to locate them by Automation Id. Instead I've been using the AutomationName property, with the title on the tab as the value. Not sure if White supports this, but I'm pretty sure you can get the original AutomationElement out and use it as per the example.
You'll also probably be looking for something supporting the SelectionItemPattern (there's a SelectionItemIsSupportedProperty), and you'll need to use the pattern to select the tab and make it active before you can see anything in it.
Please comment if you need any more info. It might help to know what the structure of your container with tabs in is.
*Declaration of interest since I wrote this.

lync extension development

Could anyone please send me some urls or code samples for develop extension for lync 2010.
I mean development some tools which can integrated into lync 2010 as extension.
add a menu or button to lync 2010, when click the menu or button, the customerized tool will popup.
Thanks a lot.
You've got 4 options:
1 - Add a custom menu item to either the main Lync window or a conversation window.
2 - Create a Conversation Window Extension to host your custom functionality. This is a Silverlight or HTML application that can be hosted inside a conversation window. Note, this can only be applied to a conversation window, and not to the main Lync window.
3 - Create a Silverlight or WPF application that contains your custom functionality, and then automate Lync from that application
4 - Probably a bit extreme depending on what you're trying to achieve, but you could run Lync in UI suppression mode, and then create your custom functionality in an application that also uses Lync for communication related tasks - but in this case, you'll have to provide all the communication UI (e.g. conversation windows) yourself.
The Lync SDK can be downloaded here - This contains sample code and walkthroughs, and should be enough to get you started.
You can find a solution at
http://visualstudiogallery.msdn.microsoft.com/29576efc-0d12-4ad8-8ace-6a9a63275a57
Using this package, you can add custom tab functionality to lync 2010 client.

how to add a tab into lync 2010 client

Thanks First.
Could any one tell me some reference urls or docs to implement this function.
Add a customerized winform tab into lync 2010 client.
(in the main window, not the contact window extension.)
There is no way to do this unfortunately. Previous versions of Lync (actually, Office Communicator) let you add custom UI similar to what you are describing, but this functionality has been removed in Lync.
This document (http://technet.microsoft.com/en-us/library/gg398300.aspx) suggests you can add custom tabs using the -TabUrl parameter, but actually this is an error in the documentation, as the Lync client does not support it.