Last active
August 8, 2017 14:55
-
-
Save tablacus/d95f80c640c4b5f4fc5b33e502b1aede to your computer and use it in GitHub Desktop.
Refresh (Keep selected) - Tablacus Explorer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var FV = GetFolderView(Ctrl, pt); | |
var Selected = FV.SelectedItems(); | |
FV.Refresh(); | |
if (Selected && Selected.Count) { | |
for (var i = Selected.Count; i--;) { | |
FV.SelectItem(Selected.Item(i), SVSI_SELECT); | |
} | |
FV.SelectItem(Selected.Item(0), SVSI_SELECT | SVSI_FOCUSED); | |
} |
Author
tablacus
commented
Aug 8, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment