> I guess you haven't directly used Shell_NotifyIcon to add the icon. > When you fill in the TNotifyIconData record, you specify a window handle > in the hWnd field and a message identifier in the uCallbackMessage > field. When something happens to the icon in the notification area, the > shell will send the given window the specified message. The lParam > parameter of that message will tell you which event occured, such as > wm_MouseMove or wm_LButtonDown. Everything is explained in MSDN; start > at the Shell_NotifyIcon topic and follow the links from there. > > To display a popup menu, call the TrackPopupMenuEx API function. > > -- > Rob
Well I have used the Shell_NotifyIcon also Assigned a handle to it but did not know about TrackPopupMenuEx... I'll give it a look Thanks for your assistance Vahan ----------------------------------------------------- Home page: http://groups.yahoo.com/group/delphi-en/ To unsubscribe: [EMAIL PROTECTED] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/delphi-en/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

