https://bugzilla.novell.com/show_bug.cgi?id=324830

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=324830#c2





--- Comment #2 from Everaldo Canuto <[EMAIL PROTECTED]>  2008-05-08 02:58:00 
MST ---
Hey,

Yes, that is right, we must call SetForegroundWindow as I see in this thread:

http://www.msnewsgroups.net/group/microsoft.public.dotnet.languages.csharp/topic35558.aspx

"The reason it works as a ContextMenu and not when Show is just called is
that the NotifyIcon p/invokes SetForgroundWindow before showing its
ContextMenu. To get this behavior, the user would have to do the same and
p/invoke SetForegroundWindow"


So, looks that theres no other way to do it on Win32, I am going to implement
your solution.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to