Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finish DesktopIconsManager: e.g. icon positions aren't stored in DesktopIconsManager #11

Open
Whathecode opened this issue Jan 15, 2015 · 1 comment
Assignees

Comments

@Whathecode
Copy link
Owner

On my Windows 8 installation desktop icons do not seem to be stored since a window can't be found. The following returns 0 in the IconManager helper class.

vHandle = User32.FindWindowEx(vHandle, IntPtr.Zero, "SysListView32", "FolderView");

Furthermore, merging icon workspaces is currently not implemented. A desirable behavior needs to be decided on here. Remember that closing down the workspace manager merges all workspaces with the startup workspace! Different behavior might be desirable when merging two workspaces than when closing the manager.

The IconManager might also need to be refactored, moving some of its components to the FCL extensions PInvoke library.

@Whathecode
Copy link
Owner Author

Icon positions are now stored, but two more things needs to be implemented for this to be a fully functional workspace manager.

  • Icons are only identified by their index, which can change. In order to identify icons uniquely, their text should probably be stored as well. I tried using LVM_MAPINDEXTOID and LVM_MAPIDTOINDEX, but LVM_MAPINDEXTOID kept returning -1. Since you can not have two filesnames with the same name within one folder, using text to uniquely identify icons should work ...
  • How to merge icon workspaces is still left open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants