Skip to content

Windows: Icons are being written to disk - can this be avoided? #190

@Stefan-1971

Description

@Stefan-1971

I want to use pystray to write a program for Windows that tracks disk activity on my C-drive. Whenver data being written to the disk, I want to change the icon dynamically. But the problem is that pystray itself creates disk activity because the icon is first written to disk and then loaded back via win32.LoadImage(). Would it be possible to do it all in memory only, e.g. by using the Win32 function CreateIcon()?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions