Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=79667 --- shadow/79667 2006-10-15 09:53:11.000000000 -0400 +++ shadow/79667.tmp.23640 2006-10-15 09:53:11.000000000 -0400 @@ -0,0 +1,51 @@ +Bug#: 79667 +Product: Mono: Class Libraries +Version: 1.1 +OS: +OS Details: Windows XP SP1 +Status: NEW +Resolution: +Severity: Unknown +Priority: Normal +Component: Windows.Forms +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: MessageBox focus issues + +1. bug: You cannot click the messagebox with a [SPACE] key. Obviously the +OK button in the messagebox doesn't have focus. +2. bug: You cannot close the messagebox by hitting the [ESCAPE] key. +3. bug: After clicking the OK button (either with the mouse or the Enter +key) or closing the messagebox by clicking the X symbol in the top right +corner, the original form doesn't get focused back. + +Reproduce code: +using System; +using System.Windows.Forms; + +namespace MonoTest29 +{ + public class Form1 : Form + { + static void Main() + { + Application.Run(new Form1()); + } + + public Form1() + { + Button B = new Button(); + B.Click += new EventHandler(B_Click); + Controls.Add(B); + } + + void B_Click(object sender, EventArgs e) + { + MessageBox.Show("Test"); + } + } +} _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
