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 authentication level.

bug #10702: MDI does not work on Win32

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

Mon 18 Oct 2004 02:26:07 PM UTC, comment #1:

MDI doesn't work on Win32 yet - sadly.

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

The following code,

using System;
using System.Windows.Forms;

class MdiBox : Form
IsMdiContainer = true;

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

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:
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
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 09 Jan 2007 04:14:42 AM UTCNoneAttached File-=>Added calldetails.txt, #11704
Wed 20 Oct 2004 08:50:29 AM UTCt3rmin4t0rSummaryNullreference exception in winforms=>MDI does not work on Win32

Back to the top

Powered by Savane 3.1-cleanup1