How-To control minimize effect when the window goes to the tray ??

Hi for all

Please , I have the following situation and want any solution

So ,

when we close the application window and minimizes it to the system tray

The Window minimizes to the left and the tray icon appears on the right

How I can control this minimize effect and make it like for example Windows Live Messenger ,

when it closes from the X button on the right up it make you feel that the entire window is minimized to the system tray area

How I can do this effect

I hope this explain my exact requirement .

I am using VB 2005 Express Edition.

Many thanks

Mohamed




Answer this question

How-To control minimize effect when the window goes to the tray ??

  • Narayan19

    Hi

    thanks for your reply and the provided sample

    But my friend this is not exactly as I want

    you can take a look and see how the Live Messenger window is actually minimized when it is closed from the 'X' button up to the right .

    Again many thanks

    Mohamed



  • MarkWHarrison

    This is a sample solution with one form that minimizes to the sistem tray and handles a right-click menu on the tray icon.

  • How-To control minimize effect when the window goes to the tray ??