<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>SharePoint Integration</title><link>https://www.infopathdev.com:443/forums/46.aspx</link><description> For questions concerning issues in the integration of SharePoint and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Controlling Custom Task Pane</title><link>https://www.infopathdev.com:443/forums/thread/15602.aspx</link><pubDate>Wed, 15 Feb 2006 17:24:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15602</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15602.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=15602</wfw:commentRss><description>I found this today in the InfoPath SDK - the code is:&lt;br /&gt;&lt;br /&gt;objTaskPane = XDocument.View.Window.TaskPanes(4);&lt;br /&gt;objTaskPane.Visible = true;&lt;br /&gt;&lt;br /&gt;---------------&lt;br /&gt;Matt Faus&lt;br /&gt;InfoPath Dev Texas&lt;br /&gt;</description></item><item><title>Re: Controlling Custom Task Pane</title><link>https://www.infopathdev.com:443/forums/thread/15601.aspx</link><pubDate>Tue, 01 Feb 2005 01:01:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15601</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15601.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=15601</wfw:commentRss><description>You can set the task pane to hide during the OnSwitchView event, which occurs right before the first view is visible. There will be a short flash of it appearing and then disappearing (oh, well!), and then you can make it hide or show from code when the user clicks on the button, based on your needs.&lt;br /&gt;&lt;br /&gt;Keep in mind though that the user can still open you task pane from the menus and keyboard shortcuts. So one solution for this is to set some simple message as visible in the task pane when you close it via code. Then if the user manually opens the task pane, they will see your message, and not an active task pane. The other option is to set all of the controls in the task pane to be disabled when you close the task pane via code... but this is more work.&lt;br /&gt;&lt;br /&gt;Greg Collins [InfoPath MVP]</description></item><item><title>Controlling Custom Task Pane</title><link>https://www.infopathdev.com:443/forums/thread/15242.aspx</link><pubDate>Mon, 31 Jan 2005 14:43:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15242</guid><dc:creator>pinfante</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15242.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=15242</wfw:commentRss><description>Is there a way to control when/if the custom task pane is visable?  I would like to have it only apprear then a user clicks a custom button on the form.&lt;br /&gt;&lt;br /&gt;Thanks.&lt;br /&gt;&lt;br /&gt;-Pat</description></item></channel></rss>