![]() ![]() I chose the easy way out for this - I used RTF files. I did not want this application to show up in the list of programs that show up when Alt+Tab is pressed. The program handles this by overriding the WndProc method as shown below:Ĭopy Code private void StartUpForm_Click( object sender, System.EventArgs e) This is an issue when the system shuts down. Hence the user cannot 'close' the application. Since we are using a notifyicon, there is no program with a window frame with the close button. Notify iconĮxamples of using the notifyicon is available in another article of mine: Yahoo Emoticons, Hidden emoticons (smileys) and Emotes in your system tray. In order to use the modifier keys, I had to change the original code to include this modification. The code for this was borrowed from: Processing Global Mouse and Keyboard Hooks in C#. E.g., Pressing Alt+Shift+Ctrl+H hides all notes, Alt+Shift+Ctrl+D displays all notes, and Alt+Shift+Ctrl+N creates a new note. The code to achieve that is available here. I am currently allowing only one instance of JotNotes to run at a time. Though the source code is available to everybody, I would like to highlight some interesting code sections that others might want to use. Right click on this icon to see all available options. A new icon for JotNotes would then be added to the system tray. To use the program, execute the JotNotes.exe program. This tool allows you to keep post-it type notes on your computer desktop. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |