<?xml version="1.0" encoding="iso-8859-1" ?>
<rss version="0.92">
<channel>
	<docs>http://backend.userland.com/rss092</docs>
	<title>LogicNP Software Support Forum</title>
	<link>http://www.ssware.com/support/</link>
	<description>A collection of FAQ and Knowledge Base Articles</description>
	<managingEditor>support@ssware.com</managingEditor>
	<webMaster>support@ssware.com</webMaster>
	<lastBuildDate>Thu, 15 May 2008 16:15:59 GMT</lastBuildDate>
<item>
	<title>Announcements :: Minor Update for Shell MegaPack 2008 for .Net and ActiveX available</title>
	<link>http://www.ssware.com/support/viewtopic.php?p=423#423</link>
	<description>
&lt;span class="postbody"&gt;&lt;span style=&quot;font-weight: bold&quot;&gt;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
&lt;br /&gt;
Minor update for Shell MegaPack 2008 for .Net and ActiveX released!
&lt;br /&gt;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;/span&gt;
&lt;br /&gt;
We are pleased to announce the release and immediately availability of a 
&lt;br /&gt;
minor update (Build 581512) for Shell MegaPack.Net 2008 and Shell MegaPack 
&lt;br /&gt;
ActiveX 2008. The latest build changes the filenames of the ocx 
&lt;br /&gt;
files(ActiveX Edition) to conform to DOS 8.3 format. Common features in both 
&lt;br /&gt;
.Net and ActiveX editions include improved thumbnail functionality, greatly 
&lt;br /&gt;
improved overlay-icon support and some bugfixes. A complete list of all new 
&lt;br /&gt;
features can be found below. Download the latest version from 
&lt;br /&gt;
&lt;a href=&quot;http://www.ssware.com/download.htm&quot; target=&quot;_blank&quot;&gt;http://www.ssware.com/download.htm&lt;/a&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold&quot;&gt;
&lt;br /&gt;
~~~~~~~~~~~~~~~~~
&lt;br /&gt;
Upgrade Information
&lt;br /&gt;
~~~~~~~~~~~~~~~~~&lt;/span&gt;
&lt;br /&gt;
The latest build is free for all v2008 customers. For v9.0 customers, v2008 
&lt;br /&gt;
is a free upgrade if you have an active Support And Upgrade Subscription. 
&lt;br /&gt;
Contact us to receive your new license. If you do not have an active Support 
&lt;br /&gt;
And Upgrade Subscription , contact us to upgrade your license to v2008. 
&lt;br /&gt;
Additional links of use are listed below :
&lt;br /&gt;

&lt;br /&gt;
Licensing FAQ : &lt;a href=&quot;http://www.ssware.com/licensefaq.htm&quot; target=&quot;_blank&quot;&gt;http://www.ssware.com/licensefaq.htm&lt;/a&gt;
&lt;br /&gt;
Upgrade your License : &lt;a href=&quot;http://www.ssware.com/upgrade.htm&quot; target=&quot;_blank&quot;&gt;http://www.ssware.com/upgrade.htm&lt;/a&gt;
&lt;br /&gt;
Order Shell MegaPack : &lt;a href=&quot;http://www.ssware.com/megapack/order.htm&quot; target=&quot;_blank&quot;&gt;http://www.ssware.com/megapack/order.htm&lt;/a&gt;
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
&lt;span style=&quot;font-weight: bold&quot;&gt;~~~~~~~~~~~~~~~~~~~~~~~~~~~~
&lt;br /&gt;
Upgrade Assistant for .Net Edition
&lt;br /&gt;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;/span&gt;
&lt;br /&gt;
For the .Net edition, you can use the ProjectReferencesRename.exe utility to 
&lt;br /&gt;
change all references of v9.0 or earlier of the controls to the latest v10.0 
&lt;br /&gt;
(2008) . The ProjectReferencesRename.exe utility can be downloaded from :
&lt;br /&gt;
&lt;a href=&quot;http://www.ssware.com/megapack/project_references_rename.zip&quot; target=&quot;_blank&quot;&gt;http://www.ssware.com/megapack/project_references_rename.zip&lt;/a&gt;
&lt;br /&gt;

&lt;br /&gt;
&lt;span style=&quot;font-weight: bold&quot;&gt;~~~~~~~~~~~~~~~~~~~~~~~~~~~
&lt;br /&gt;
Download Shell MegaPack 2008
&lt;br /&gt;
~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;/span&gt;
&lt;br /&gt;
Download Shell MegaPack.Net 2008 and Shell MegaPack ActiveX 2008 from 
&lt;br /&gt;
&lt;a href=&quot;http://www.ssware.com/download.htm&quot; target=&quot;_blank&quot;&gt;http://www.ssware.com/download.htm&lt;/a&gt;
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
&lt;span style=&quot;font-weight: bold&quot;&gt;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
&lt;br /&gt;
What's New!! in Shell MegaPack 2008 Build 581512
&lt;br /&gt;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;/span&gt;
&lt;br /&gt;

&lt;br /&gt;
&lt;span style=&quot;font-weight: bold&quot;&gt;~~~~~~~~~~~
&lt;br /&gt;
.Net Edition
&lt;br /&gt;
~~~~~~~~~~~&lt;/span&gt;
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
FolderView
&lt;br /&gt;
~~~~~~~~~~~
&lt;br /&gt;

&lt;br /&gt;
NEW FUNCTIONALITY : Added support for drag-drop from some external sources 
&lt;br /&gt;
such as Winzip.
&lt;br /&gt;
NEW FUNCTIONALITY : Added comprehensive support for overlay icons. Overlay 
&lt;br /&gt;
icons other than Shortcut and Share are now supported, overlay icons for 
&lt;br /&gt;
custom namespace extension items are supported and overlay icons are not 
&lt;br /&gt;
sourced directly from the OS.
&lt;br /&gt;
BUGFIX : Crash occurred if AddCustomItem was called with '-1' as the 
&lt;br /&gt;
IconIndex parameter.
&lt;br /&gt;
BUGFIX : Fixed internal crash and consequent 'random scrolling' bug when 
&lt;br /&gt;
dragdrop enters from some external locations.
&lt;br /&gt;
BUGFIX : Fixed crash in VIsual Studio 2005 at design time when invoking 
&lt;br /&gt;
control property pages.
&lt;br /&gt;
BUGFIX : Incorrect node gets selected when FolderView is linked to FileView 
&lt;br /&gt;
and FileView attempts to browse to an inaccessible location.
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
FileView
&lt;br /&gt;
~~~~~~~~
&lt;br /&gt;

&lt;br /&gt;
NEW FUNCTIONALITY : Added support for Alpha (transparent) thumbnails on XP 
&lt;br /&gt;
and Vista.
&lt;br /&gt;
NEW FUNCTIONALITY : Thumbnails on Vista now show extra-large icons for items 
&lt;br /&gt;
which have no thumbnails
&lt;br /&gt;
NEW FUNCTIONALITY : Added support for drag-drop from some external sources 
&lt;br /&gt;
such as Winzip.
&lt;br /&gt;
NEW FUNCTIONALITY : Added comprehensive support for overlay icons. Overlay 
&lt;br /&gt;
icons other than Shortcut and Share are now supported, overlay icons for 
&lt;br /&gt;
custom namespace extension items are supported and overlay icons are not 
&lt;br /&gt;
sourced directly from the OS.
&lt;br /&gt;
BUGFIX : Crash occurred if AddCustomItem was called with '-1' as the 
&lt;br /&gt;
IconIndex parameter.
&lt;br /&gt;
BUGFIX : If 'Starting Folder' set at design time is not present at run-time, 
&lt;br /&gt;
FileView resets to the Desktop.
&lt;br /&gt;
BUGFIX : Some thumbnails were shown against a black background on XP and 
&lt;br /&gt;
Vista.
&lt;br /&gt;
BUGFIX : Fixed internal crash and consequent 'random scrolling' bug when 
&lt;br /&gt;
dragdrop enters from some external locations.
&lt;br /&gt;
BUGFIX : Fixed crash in VIsual Studio 2005 at design time when invoking 
&lt;br /&gt;
control property pages.
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
ShComboBox
&lt;br /&gt;
~~~~~~~~~~~
&lt;br /&gt;
NEW FUNCTIONALITY : AutoUpdate works correctly when USB disks are connected 
&lt;br /&gt;
or disconnected.
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
ShellObjects
&lt;br /&gt;
~~~~~~~~~~~
&lt;br /&gt;
NEW FUNCTIONALITY : Appbars can now be drag-docked even when dragging by the 
&lt;br /&gt;
caption/title area when in undocked mode.
&lt;br /&gt;

&lt;br /&gt;
&lt;span style=&quot;font-weight: bold&quot;&gt;~~~~~~~~~~~~~
&lt;br /&gt;
ActiveX Edition
&lt;br /&gt;
~~~~~~~~~~~~~&lt;/span&gt;
&lt;br /&gt;

&lt;br /&gt;
FolderView
&lt;br /&gt;
~~~~~~~~~~
&lt;br /&gt;

&lt;br /&gt;
Filename of ocx file changed from fldrvw2008.ocx to fldrv080.ocx to conform 
&lt;br /&gt;
to DOS 8.3 format.
&lt;br /&gt;
NEW FUNCTIONALITY : Added support for drag-drop from some external sources 
&lt;br /&gt;
such as Winzip.
&lt;br /&gt;
NEW FUNCTIONALITY : Added comprehensive support for overlay icons. Overlay 
&lt;br /&gt;
icons other than Shortcut and Share are now supported, overlay icons for 
&lt;br /&gt;
custom namespace extension items are supported and overlay icons are not 
&lt;br /&gt;
sourced directly from the OS.
&lt;br /&gt;
BUGFIX : Crash occurred if AddCustomItem was called with '-1' as the 
&lt;br /&gt;
IconIndex parameter.
&lt;br /&gt;
BUGFIX : Fixed internal crash and consequent 'random scrolling' bug when 
&lt;br /&gt;
dragdrop enters from some external locations.
&lt;br /&gt;
BUGFIX : Fixed crash in VIsual Studio 2005 at design time when invoking 
&lt;br /&gt;
control property pages.
&lt;br /&gt;
BUGFIX : Incorrect node gets selected when FolderView is linked to FileView 
&lt;br /&gt;
and FileView attempts to browse to an inaccessible location.
&lt;br /&gt;

&lt;br /&gt;
FileView
&lt;br /&gt;
~~~~~~~~
&lt;br /&gt;
Filename of ocx file changed from filevw2008.ocx to filev080.ocx to conform 
&lt;br /&gt;
to DOS 8.3 format.
&lt;br /&gt;
NEW FUNCTIONALITY : Added support for Alpha (transparent) thumbnails on XP 
&lt;br /&gt;
and Vista.
&lt;br /&gt;
NEW FUNCTIONALITY : Thumbnails on Vista now show extra-large icons for items 
&lt;br /&gt;
which have no thumbnails
&lt;br /&gt;
NEW FUNCTIONALITY : Added support for drag-drop from some external sources 
&lt;br /&gt;
such as Winzip.
&lt;br /&gt;
NEW FUNCTIONALITY : Added comprehensive support for overlay icons. Overlay 
&lt;br /&gt;
icons other than Shortcut and Share are now supported, overlay icons for 
&lt;br /&gt;
custom namespace extension items are supported and overlay icons are not 
&lt;br /&gt;
sourced directly from the OS.
&lt;br /&gt;
BUGFIX : Crash occurred if AddCustomItem was called with '-1' as the 
&lt;br /&gt;
IconIndex parameter.
&lt;br /&gt;
BUGFIX : If 'Starting Folder' set at design time is not present at run-time, 
&lt;br /&gt;
FileView resets to the Desktop.
&lt;br /&gt;
BUGFIX : Some thumbnails were shown against a black background on XP and 
&lt;br /&gt;
Vista.
&lt;br /&gt;
BUGFIX : Fixed internal crash and consequent 'random scrolling' bug when 
&lt;br /&gt;
dragdrop enters from some external locations.
&lt;br /&gt;
BUGFIX : Fixed crash in VIsual Studio 2005 at design time when invoking 
&lt;br /&gt;
control property pages.
&lt;br /&gt;

&lt;br /&gt;
ShComboBox
&lt;br /&gt;
~~~~~~~~~~~~
&lt;br /&gt;
Filename of ocx file changed from shcmb2008.ocx to shcmb080.ocx to conform 
&lt;br /&gt;
to DOS 8.3 format.
&lt;br /&gt;
NEW FUNCTIONALITY: AutoUpdate works when USB disks are connected or 
&lt;br /&gt;
disconnected.
&lt;br /&gt;
BUGFIX : Fixed crash in VIsual Studio 2005 at design time when invoking 
&lt;br /&gt;
control property pages.
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
ShellObjects
&lt;br /&gt;
~~~~~~~~~~~
&lt;br /&gt;
Filename of ocx file changed from shlobj2008.ocx to shlob080.ocx to conform 
&lt;br /&gt;
to DOS 8.3 format.
&lt;br /&gt;
NEW FUNCTIONALITY : Appbars can now be drag-docked even when dragging by the 
&lt;br /&gt;
caption/title area when in undocked mode.
&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>FileView ActiveX Control :: HOWTO: Determine whether a item is a 'special' folder such as the Control Panel, My Network Places, etc</title>
	<link>http://www.ssware.com/support/viewtopic.php?p=422#422</link>
	<description>
&lt;span class="postbody"&gt;Special folders are folders such as My Computer, Control Panel, My Network Places, My Documents, Windows directory, etc. See the &lt;span style=&quot;font-weight: bold&quot;&gt;SpecialFolderTypes &lt;/span&gt;enumeration for a complete list of special folders.
&lt;br /&gt;

&lt;br /&gt;
Use the &lt;span style=&quot;font-weight: bold&quot;&gt;IsSpecialFolder &lt;/span&gt;method of ListItem class to determine whether a listitem is a 'special' item. For example, to determine whether an item is the 'Control Panel' , use the following code :
&lt;br /&gt;

&lt;br /&gt;
&lt;span style=&quot;font-weight: bold&quot;&gt;[VB6]&lt;/span&gt;
&lt;br /&gt;
&lt;span style=&quot;color: darkred&quot;&gt;If fileVw.FirstSelectedItem.IsSpecialFolder(SpecialFolderTypes.Controls) Then
&lt;br /&gt;
MsgBox (&quot;Selected item is the 'Control Panel' &quot;)
&lt;br /&gt;
End If&lt;/span&gt;
&lt;br /&gt;

&lt;br /&gt;
&lt;span style=&quot;font-weight: bold&quot;&gt;[C++]&lt;/span&gt;
&lt;br /&gt;
&lt;span style=&quot;color: darkred&quot;&gt; //For SpecialFolderTypes.CONTROLS, value = 3
&lt;br /&gt;
if( m_filevw.GetFirstSelectedItem().IsSpecialFolder(3))   
&lt;br /&gt;
AfxMessageBox(_T(&quot;Selected item is the 'Control Panel' &quot;));&lt;/span&gt;
&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>FileView.Net Control :: HOWTO: Determine whether a item is a 'special' folder such as the Control Panel, My Network Places, etc</title>
	<link>http://www.ssware.com/support/viewtopic.php?p=421#421</link>
	<description>
&lt;span class="postbody"&gt;Special folders are folders such as My Computer, Control Panel, My Network Places, My Documents, Windows directory, etc. See the &lt;span style=&quot;font-weight: bold&quot;&gt;SpecialFolders &lt;/span&gt;enumeration for a complete list of special folders.
&lt;br /&gt;

&lt;br /&gt;
Use the &lt;span style=&quot;font-weight: bold&quot;&gt;IsSpecialFolder &lt;/span&gt;method of ListItem class to determine whether a listitem is a 'special' item. For example, to determine whether an item is the 'Control Panel' , use the following code :
&lt;br /&gt;

&lt;br /&gt;
&lt;span style=&quot;font-weight: bold&quot;&gt;[C#]&lt;/span&gt;
&lt;br /&gt;

&lt;br /&gt;
&lt;span style=&quot;color: darkred&quot;&gt;if( fileView.FirstSelectedItem.IsSpecialFolder(LogicNP.FileViewControl.SpecialFolders.CONTROLS))
&lt;br /&gt;
MessageBox.Show( &quot;Selected node is the 'Control Panel' node&quot;);&lt;/span&gt;
&lt;br /&gt;

&lt;br /&gt;
&lt;span style=&quot;font-weight: bold&quot;&gt;[VB]&lt;/span&gt;
&lt;br /&gt;

&lt;br /&gt;
&lt;span style=&quot;color: darkred&quot;&gt;If (fileView.FirstSelectedItem.IsSpecialFolder(LogicNP.FileViewControl.SpecialFolders.CONTROLS)) Then
&lt;br /&gt;
MessageBox.Show( &quot;Selected item is the 'Control Panel' &quot;)
&lt;br /&gt;
End If&lt;/span&gt;
&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>FolderView.Net Control :: HOWTO: Determine whether a node is a 'special' folder such as the Control Panel, My Network Places, etc</title>
	<link>http://www.ssware.com/support/viewtopic.php?p=420#420</link>
	<description>
&lt;span class="postbody"&gt;Special folders are folders such as My Computer, Control Panel, My Network Places, My Documents, Windows directory, etc. See the &lt;span style=&quot;font-weight: bold&quot;&gt;SpecialFolders &lt;/span&gt;enumeration for a complete list of special folders.
&lt;br /&gt;

&lt;br /&gt;
Use the &lt;span style=&quot;font-weight: bold&quot;&gt;IsSpecialFolder &lt;/span&gt;method of FOVTreeNode class to determine whether a node is a 'special' node. For example, to determine whether a node is the 'Control Panel' node, use the following code :
&lt;br /&gt;

&lt;br /&gt;
&lt;span style=&quot;font-weight: bold&quot;&gt;[C#]&lt;/span&gt;
&lt;br /&gt;

&lt;br /&gt;
&lt;span style=&quot;color: darkred&quot;&gt;if( fldrView.SelectedNode.IsSpecialFolder(LogicNP.FolderViewControl.SpecialFolders.CONTROLS))
&lt;br /&gt;
MessageBox.Show( &quot;Selected node is the 'Control Panel' node&quot;);&lt;/span&gt;
&lt;br /&gt;

&lt;br /&gt;
&lt;span style=&quot;font-weight: bold&quot;&gt;[VB]&lt;/span&gt;
&lt;br /&gt;
&lt;span style=&quot;color: darkred&quot;&gt;If (fldrView.SelectedNode.IsSpecialFolder(LogicNP.FolderViewControl.SpecialFolders.CONTROLS)) Then
&lt;br /&gt;
MessageBox.Show(&quot;Selected node is the 'Control Panel' node&quot;)
&lt;br /&gt;
End If&lt;/span&gt;
&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>FolderView ActiveX Control :: HOWTO: Determine whether a node is a 'special' folder such as the Control Panel, My Network Places, etc</title>
	<link>http://www.ssware.com/support/viewtopic.php?p=419#419</link>
	<description>
&lt;span class="postbody"&gt;Special folders are folders such as My Computer, Control Panel, My Network Places, My Documents, Windows directory, etc. See the &lt;span style=&quot;font-weight: bold&quot;&gt;SpecialFolderTypes &lt;/span&gt;enumeration for a complete list of special folders.
&lt;br /&gt;

&lt;br /&gt;
Use the &lt;span style=&quot;font-weight: bold&quot;&gt;IsSpecialFolder &lt;/span&gt;method of TreeNode class to determine whether a node is a 'special' node. For example, to determine whether a node is the 'Control Panel' node, use the following code :
&lt;br /&gt;

&lt;br /&gt;
&lt;span style=&quot;font-weight: bold&quot;&gt;[VB6]&lt;/span&gt;
&lt;br /&gt;
&lt;span style=&quot;color: darkred&quot;&gt;If folderView1.SelectedNode.IsSpecialFolder(SpecialFolderTypes.CONTROLS) Then
&lt;br /&gt;
MsgBox &quot;Selected node is the 'Control Panel' node
&lt;br /&gt;
End If&lt;/span&gt;
&lt;br /&gt;

&lt;br /&gt;
&lt;span style=&quot;font-weight: bold&quot;&gt;[C++]&lt;/span&gt;
&lt;br /&gt;
&lt;span style=&quot;color: darkred&quot;&gt;//For SpecialFolderTypes.CONTROLS, value = 3 
&lt;br /&gt;
if (m_fldrVw.GetSelectedNode().IsSpecialFolder(3))
&lt;br /&gt;
AfxMessageBox(_T(&quot;Selected node is the 'Control Panel' node&quot;)); &lt;/span&gt;
&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>FolderView ActiveX Control :: INFO: Making expand/collapse buttons (expandos) fade in and out in Vista look and feel.</title>
	<link>http://www.ssware.com/support/viewtopic.php?p=418#418</link>
	<description>
&lt;span class="postbody"&gt;Under Vista style, FolderView fades the expand/collapse buttons(expandos) only if the &lt;span style=&quot;font-weight: bold&quot;&gt;HotTracking &lt;/span&gt;property is set to True.
&lt;br /&gt;
 
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold&quot;&gt;Notes&lt;/span&gt;
&lt;br /&gt;
Vista look and feel is enabled if FolderView is running on Vista and visual styles are enabled for the application.
&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>FolderView.Net Control :: INFO: Making expand/collapse buttons (expandos) fade in and out in Vista look and feel.</title>
	<link>http://www.ssware.com/support/viewtopic.php?p=417#417</link>
	<description>
&lt;span class="postbody"&gt;Under Vista style, FolderView fades the expand/collapse buttons(expandos) only if the &lt;span style=&quot;font-weight: bold&quot;&gt;HotTracking&lt;/span&gt; property is set to True.
&lt;br /&gt;
 
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold&quot;&gt;Notes&lt;/span&gt;
&lt;br /&gt;
Vista look and feel is enabled if FolderView is running on Vista and visual styles are enabled for the application.
&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>EZNamespaceExtensionsMFC :: HOWTO : Use an ActiveX control for a custom view in the namespace extension</title>
	<link>http://www.ssware.com/support/viewtopic.php?p=416#416</link>
	<description>
&lt;span class="postbody"&gt;To use an ActiveX control for a custom view in your namespace extension, use &lt;span style=&quot;font-weight: bold&quot;&gt;AfxEnableControlContainer(); &lt;/span&gt;in the &lt;span style=&quot;font-weight: bold&quot;&gt;InitInstance &lt;/span&gt;method of namespace extension project. This enables support for containment of OLE controls.
&lt;br /&gt;

&lt;br /&gt;
The code is as follows :
&lt;br /&gt;

&lt;br /&gt;
&lt;span style=&quot;color: darkred&quot;&gt;BOOL CFileSystemBrowserCustomViewApp::InitInstance()
&lt;br /&gt;
{
&lt;br /&gt;
OleInitialize(NULL);
&lt;br /&gt;
COleObjectFactory::RegisterAll(); 
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold&quot;&gt;AfxEnableControlContainer();&lt;/span&gt;
&lt;br /&gt;
return CWinApp::InitInstance();
&lt;br /&gt;
}&lt;/span&gt;
&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>EZNamespaceExtensionsMFC :: HOWTO: Refresh Windows Explorer when the contents of a namespace extension change</title>
	<link>http://www.ssware.com/support/viewtopic.php?p=415#415</link>
	<description>
&lt;span class="postbody"&gt;It is often necessary to refresh the Windows Explorer tree(left window) and list(right window) in response to changes in the contents of the namespace extension such as when the user logs on or off. Use the following code for that :
&lt;br /&gt;

&lt;br /&gt;
&lt;span style=&quot;color: darkred&quot;&gt;CNSEFolder* rootFolder = this-&amp;gt;GetRootFolder();
&lt;br /&gt;
rootFolder-&amp;gt;RefreshView();
&lt;br /&gt;
rootFolder-&amp;gt;NotifyUpdated();
&lt;br /&gt;
rootFolder-&amp;gt;InternalRelease();&lt;/span&gt;
&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>EZNamespaceExtensions.Net :: HOWTO: Refresh Windows Explorer when the contents of a namespace extension change</title>
	<link>http://www.ssware.com/support/viewtopic.php?p=414#414</link>
	<description>
&lt;span class="postbody"&gt;It is often necessary to refresh the Windows Explorer tree(left window) and list(right window) in response to changes in the contents of the namespace extension such as when the user logs on or off. Use the following code for that :
&lt;br /&gt;

&lt;br /&gt;
&lt;span style=&quot;font-weight: bold&quot;&gt;[C#]&lt;/span&gt;
&lt;br /&gt;
&lt;span style=&quot;color: darkred&quot;&gt;this.RootFolder.RefreshView();
&lt;br /&gt;
this.RootFolder.NotifyUpdated();&lt;/span&gt;
&lt;br /&gt;

&lt;br /&gt;
&lt;span style=&quot;font-weight: bold&quot;&gt;
&lt;br /&gt;
[VB.Net]&lt;/span&gt;
&lt;br /&gt;
&lt;span style=&quot;color: darkred&quot;&gt;Me.RootFolder.RefreshView()
&lt;br /&gt;
Me.RootFolder.NotifyUpdated()&lt;/span&gt;
&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>FolderView ActiveX Control :: HOWTO: Use ByRef event parameters in VBScript in an HTML/ASP page</title>
	<link>http://www.ssware.com/support/viewtopic.php?p=413#413</link>
	<description>
&lt;span class="postbody"&gt;VBScript does not support ByRef parameters, so those events which use ByRef parameters to pass back information to FolderView do not work. Thus, the following VBScript code to do custom sorting does not work :
&lt;br /&gt;

&lt;br /&gt;
&lt;span style=&quot;color: darkred&quot;&gt;&amp;lt;SCRIPT language=&quot;VBScript&quot;&amp;gt;
&lt;br /&gt;

&lt;br /&gt;
Sub FolderView1_OnOleStartDrag(Data,Node,effects,button,Cancel)
&lt;br /&gt;
' 1 = DROPEFFECT_COPY (Only Copy operation allowed)
&lt;br /&gt;
effects = 1 
&lt;br /&gt;
end sub
&lt;br /&gt;

&lt;br /&gt;
&amp;lt;/SCRIPT&amp;gt;&lt;/span&gt;
&lt;br /&gt;

&lt;br /&gt;
Instead of using the ByRef parameter, the information should be passed to FolderView using the &lt;span style=&quot;font-weight: bold&quot;&gt;SelectNode &lt;/span&gt;method as follows :
&lt;br /&gt;

&lt;br /&gt;
&lt;span style=&quot;color: darkred&quot;&gt;&amp;lt;SCRIPT language=&quot;VBScript&quot;&amp;gt;
&lt;br /&gt;

&lt;br /&gt;
Sub FolderView1_OnOleStartDrag(Data,Node,effects,button,Cancel)
&lt;br /&gt;
' 1 = DROPEFFECT_COPY (Only Copy operation allowed)
&lt;br /&gt;
value = &quot;intprop:&quot; +cstr(1) 
&lt;br /&gt;
folderView1.SelectNode(value,0,0)
&lt;br /&gt;
end sub
&lt;br /&gt;

&lt;br /&gt;
&amp;lt;/SCRIPT&amp;gt;&lt;/span&gt;
&lt;br /&gt;

&lt;br /&gt;
Use the prefix &quot;intprop:&quot; for ByRef parameters of type 'integer' or 'long'; use &quot;strprop:&quot; for ByRef parameters of type 'string' (used in OnInitialize and OnGetInfoTip). &lt;span style=&quot;font-weight: bold&quot;&gt;Note that the prefix (&quot;intprop:&quot; or &quot;strprop:&quot;) must be lowercase.&lt;/span&gt;
&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>FileView ActiveX Control :: HOWTO: Use ByRef event parameters in VBScript in an HTML/ASP page</title>
	<link>http://www.ssware.com/support/viewtopic.php?p=412#412</link>
	<description>
&lt;span class="postbody"&gt;VBScript does not support ByRef parameters, so those events which use ByRef parameters to pass back information to FileView do not work. Thus, the following VBScript code to do custom sorting does not work :
&lt;br /&gt;

&lt;br /&gt;
&lt;span style=&quot;color: darkred&quot;&gt;&amp;lt;SCRIPT LANGUAGE=&quot;VBScript&quot;&amp;gt;
&lt;br /&gt;
   
&lt;br /&gt;
Sub FileView1_OnCompareItems(Item1, item2, comparison)
&lt;br /&gt;
' Sort items in ascending order of length of display name
&lt;br /&gt;
c = len(item1.displayname) - len(item2.displayname)
&lt;br /&gt;
comparison = c
&lt;br /&gt;
end sub
&lt;br /&gt;

&lt;br /&gt;
Sub FileView1_OnBeforeColumnSort(columnName, columnIndex, sortType)
&lt;br /&gt;
c = 3 ' custom sorting
&lt;br /&gt;
sortType= c
&lt;br /&gt;
end sub
&lt;br /&gt;

&lt;br /&gt;
&amp;lt;/SCRIPT&amp;gt;&lt;/span&gt;
&lt;br /&gt;

&lt;br /&gt;
Instead of using the ByRef parameter, the information should be passed to FileView using the &lt;span style=&quot;font-weight: bold&quot;&gt;CurrentFolder &lt;/span&gt;property as follows :
&lt;br /&gt;

&lt;br /&gt;
&lt;span style=&quot;color: darkred&quot;&gt;&amp;lt;SCRIPT LANGUAGE=&quot;VBScript&quot;&amp;gt;
&lt;br /&gt;
   
&lt;br /&gt;
Sub FileView1_OnCompareItems(Item1, item2, comparison)
&lt;br /&gt;
' Sort items in ascending order of length of display name
&lt;br /&gt;
c = len(item1.displayname) - len(item2.displayname)
&lt;br /&gt;

&lt;br /&gt;
fileview1.CurrentFolder = &quot;intprop:&quot; + cstr(c)
&lt;br /&gt;
end sub
&lt;br /&gt;

&lt;br /&gt;
Sub FileView1_OnBeforeColumnSort(columnName, columnIndex, sortType)
&lt;br /&gt;
c = 3 ' custom sorting
&lt;br /&gt;
fileview1.CurrentFolder = &quot;intprop:&quot; + cstr(c)
&lt;br /&gt;
end sub
&lt;br /&gt;

&lt;br /&gt;
&amp;lt;/SCRIPT&amp;gt;&lt;/span&gt;
&lt;br /&gt;

&lt;br /&gt;
Use the prefix &quot;intprop:&quot; for ByRef parameters of type 'integer' or 'long'; use &quot;strprop:&quot; for ByRef parameters of type 'string' (used in OnInitialize and OnGetInfoTip). &lt;span style=&quot;font-weight: bold&quot;&gt;Note that the prefix (&quot;intprop:&quot; or &quot;strprop:&quot;) must be lowercase.&lt;/span&gt;
&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>Shell MegaPack ActiveX :: HOWTO: Enable Vista look and feel when running on Vista</title>
	<link>http://www.ssware.com/support/viewtopic.php?p=410#410</link>
	<description>
&lt;span class="postbody"&gt;v2008 of FolderView, FileView and ShComboBox support the Vista look and feel when running on Vista. To enable this feature, the host application must be using visual styles. This can be enabled by using an application manifest.
&lt;br /&gt;

&lt;br /&gt;
&lt;span style=&quot;font-weight: bold&quot;&gt;Note &lt;/span&gt;: In case of FolderView, to enable the full Vista effects such as fading (+) and (-) buttons, the &lt;span style=&quot;font-weight: bold&quot;&gt;HotTracking &lt;/span&gt;property must be set to True.
&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>Shell MegaPack.Net :: HOWTO: Enable Vista look and feel when running on Vista</title>
	<link>http://www.ssware.com/support/viewtopic.php?p=409#409</link>
	<description>
&lt;span class="postbody"&gt;v2008 of FolderView, FileView and ShComboBox support the Vista look and feel when running on Vista. To enable this feature, the host application must be using visual styles. This can be enabled by using an application manifest or calling Application.EnableVisualStyles method (this method is added by default by the project wizard in Visual Studio 2005 and 2008)
&lt;br /&gt;

&lt;br /&gt;
&lt;span style=&quot;font-weight: bold&quot;&gt;Note &lt;/span&gt;: In case of FolderView, to enable the full Vista effects such as fading (+) and (-) buttons, the &lt;span style=&quot;font-weight: bold&quot;&gt;HotTracking &lt;/span&gt;property must be set to True.
&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>EZShellExtensions.Net :: HOWTO: Enable Windows XP Visual Styles for a property sheet extension</title>
	<link>http://www.ssware.com/support/viewtopic.php?p=408#408</link>
	<description>
&lt;span class="postbody"&gt;To enable Windows XP Visual Styles (themes) for a property sheet extension, call the Application.EnableVisualStyles method at the very beginning of the constructor of the PropertySheetExtension derived class as follows :
&lt;br /&gt;
 
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold&quot;&gt;[C#]&lt;/span&gt;
&lt;br /&gt;

&lt;br /&gt;
&lt;span style=&quot;color: darkred&quot;&gt;// AssemblyInfo is a PropertySheetExtension derived class
&lt;br /&gt;
public AssemblyInfo()
&lt;br /&gt;
{
&lt;br /&gt;
Application.EnableVisualStyles();
&lt;br /&gt;
InitializeComponent();
&lt;br /&gt;
}&lt;/span&gt;
&lt;br /&gt;

&lt;br /&gt;
&lt;span style=&quot;font-weight: bold&quot;&gt;[VB.Net]&lt;/span&gt;
&lt;br /&gt;

&lt;br /&gt;
&lt;span style=&quot;color: darkred&quot;&gt;' AssemblyInfo is a PropertySheetExtension derived class
&lt;br /&gt;
Public Sub New()
&lt;br /&gt;
MyBase.New()
&lt;br /&gt;

&lt;br /&gt;
Application.EnableVisualStyles()
&lt;br /&gt;
InitializeComponent()
&lt;br /&gt;

&lt;br /&gt;
End Sub&lt;/span&gt;
&lt;br /&gt;

&lt;br /&gt;
&lt;span style=&quot;font-weight: bold&quot;&gt;Notes&lt;/span&gt;
&lt;br /&gt;
Set the &lt;span style=&quot;font-weight: bold&quot;&gt;BackColor &lt;/span&gt;property of the PropertySheetExtension to &lt;span style=&quot;font-weight: bold&quot;&gt;Transparent &lt;/span&gt;to make sure that the child controls such as labels are drawn correctly when using XP visual styles.
&lt;/span&gt;&lt;br /&gt;
</description>
</item>
</channel>
</rss>

