GithubHelp home page GithubHelp logo

supernotifyicon's Introduction

SuperNotifyIcon

This is an archive of a few helpers I wrote a long while back related to the WinForms NotifyIcon. It's quite messy and the API isn't great, but it has some locating code (with one delightfully hacky method I'm quite proud of my younger self for, of course strongly not recommended), as well as some frame-based animation code.

supernotifyicon's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

supernotifyicon's Issues

Does not work when targeting .Net Framework 4 and x86

When compiling for an x86 platform and targeting the .Net Framework 4, the FormDrop stays in the background instead of popping up when the mouse is dragging over the icon.

Also, the debug form is not refreshed at all, and the currently active form never changes.

These problems can be tested even with the demo project.

If the platform is changed to x64, everything seems to work. If targeting .Net 3.5, the project can be compiled for x64 or x86 alike.

Does not work with context menu

I added context menu like this

trayMenu = new ContextMenu();
trayMenu.MenuItems.Add("Exit", OnExit);
notifyIcon.NotifyIcon.ContextMenu = trayMenu;

Dragdrop stop working after I set ContextMenu property.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.