bugDotGNU Portable.NET - Bugs: bug #10702, MDI does not work on Win32

 
 

You are not allowed to post comments on this tracker with your current authentification level.

bug #10702: MDI does not work on Win32

Submitted by:  Carl-Adam Brengesjo <ptah>
Submitted on:  Sat Oct 16 21:08:10 2004  
 
Category: NoneSeverity: 1 - Wish
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Mon Oct 18 14:26:07 2004, comment #1:

MDI doesn't work on Win32 yet - sadly.

Gopal.V <t3rmin4t0r>
Project Administrator
Sat Oct 16 21:08:10 2004, original submission:

The following code,

using System;
using System.Windows.Forms;

class MdiBox : Form
{
MdiBox()
{
IsMdiContainer = true;
}

static void Main(String[] args)
{
Application.Run(new MdiBox());
}
};

produces
ptah@foo:~$ cscc -g -lSystem -lSystem.Windows.Forms -winforms -o test.exe test.cs
ptah@foo:~$ ilrun test.exe
Uncaught exception: System.NullReferenceException: The value 'null' was found where an instance of a
n object was required
at System.Windows.Forms.Control.CreateHandle() in ./Control.cs:2046
at System.Windows.Forms.Control.CreateControlInner() in ./Control.cs:1969
at System.Windows.Forms.Control.CreateControlInner() in ./Control.cs:1978
at System.Windows.Forms.Control.CreateControl() in ./Control.cs:1960
at System.Windows.Forms.Control.OnVisibleChanged(EventArgs) in ./Control.cs:5241
at System.Windows.Forms.Form.OnVisibleChanged(EventArgs) in ./Form.cs:1369
at System.Windows.Forms.Control.SetVisibleCore(Boolean) in ./Control.cs:3377
at System.Windows.Forms.ScrollableControl.SetVisibleCore(Boolean) in ./ScrollableControl.cs:
282
at System.Windows.Forms.Form.SetVisibleCore(Boolean) in ./Form.cs:1551
at System.Windows.Forms.Control.set_Visible(Boolean) in ./Control.cs:1796
at System.Windows.Forms.Control.Show() in ./Control.cs:3390
at System.Windows.Forms.Application.RunMessageLoop(ApplicationContext) in ./Application.cs:3
88
at System.Windows.Forms.Application.Run(Form) in ./Application.cs:576
at MdiBox.Main(String[]) in test.cs:13

on windows (using Cygwin); Linux/BSD not affected.

Carl-Adam Brengesjo <ptah>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue Jan 9 04:14:42 2007NoneAttached File-=>Added calldetails.txt, #11704
Wed Oct 20 08:50:29 2004t3rmin4t0rSummaryNullreference exception in winforms=>MDI does not work on Win32

Back to the top


Powered by Savane 3.1-cleanup