locked
Trigger event on minimize RRS feed

  • Question

  • I have it so my program starts with a notify icon but visible = false, so they don't see it when the program runs. I found a way to trigger it so that when the window becomes deactived the notify icon become visible. This works for minimizing but also works if the user clicks a different program their running. I just want the notify icon to become visible when the program is minimized but in the forms properties->events I don't see a isMinimized event. I've tried a couple functions but none that do what I want so I'm thinking about writing in the function when it is deactivated to check if it is minimized and if it is show the icon. Is there a actual function for when the program is minimized?
    Sunday, March 2, 2008 7:48 PM

Answers