Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
can anyone have logic to share ??
You can see in the declarations of interfaces (from code posted in the other thread) that there is GetFocusedItem in IFolderView
int nIndex = 0;
hr = pFolderView.GetFocusedItem(ref nIndex);
then you can get pidlItem from nIndex and get properties of the item such GetDisplayNameOf like in the loop