Control Instance of Task Pane

Add-in Express™ Support Service
That's what is more important than anything else

Control Instance of Task Pane
I am trying to get the instace of the User Control assigned to the ControlProgID of Custom Task Pane. 
Jamil Nawaz




Posts: 22
Joined: 2018-02-10
Hi,

In my application, we have a login task pane. I created a user control and set it up. I created the Task Pane in the TaskPanes collection of AddIn module. All good so far. When I want that login window to appear, I just set the visibility of the Task pane to "true" and it appears. Now I reset it's UI to default state, whenever it's shown to user. For this purpose, I am trying to find the way how can I get the User control instance created for that task pane.

Can you please guide how can I do that?

Regards,
Jamil
Posted 13 Feb, 2018 02:53:07 Top
Andrei Smolin


Add-in Express team


Posts: 15100
Joined: 2006-05-11
Hello Jamil,

AddinExpress.MSO.ADXTaskPane.ADXCustomTaskPaneInstance.Control. See also Custom task panes in Office 2016 - 2007.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 13 Feb, 2018 02:59:23 Top
Jamil Nawaz




Posts: 22
Joined: 2018-02-10
Thanks! Andrei, This answers my question.

Regards,
Jamil
Posted 13 Feb, 2018 03:29:19 Top
Andrei Smolin


Add-in Express team


Posts: 15100
Joined: 2006-05-11
You are welcome!

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 13 Feb, 2018 03:51:10 Top