[Mono-winforms-list] SWF patch ( MDI interface )

Aleksey Ryabchuk ryabchuk@yahoo.com
Thu, 3 Apr 2003 02:40:53 -0800 (PST)


Hi,

Yes, it happens because of my changes to
implementation of Control.Handle property. I think
that the best way to fix this is to move these lines:

// create all child windows
IEnumerator cw = childControls.GetEnumerator();
    
while (cw.MoveNext()) {
Console.WriteLine ("Adding Control");
Control control = (Control) cw.Current;
control.CreateControl ();
control.Show ();
}

from Control.OnHandleCreated to
Control.OnCreateControl. It looks like it fixes the
problem. And I also belive it is more logical place
for creating of child controls.

Regards
Aleksey

--- Alexandre Pigolkine <pigolkine@gmx.de> wrote:
> 
> Hello,
> 
> I noticed some problems. Could you please check
> ComboBoxCtl/ListBoxCtl
> samples
> from SDK. Looks like 2 GroupBoxes get created.
> 
> Alexandre
> 
> 
> ----- Original Message -----
> From: "Aleksey Ryabchuk" <ryabchuk@yahoo.com>
> To: <mono-winforms-list@lists.ximian.com>
> Sent: Tuesday, April 01, 2003 6:15 PM
> Subject: [Mono-winforms-list] SWF patch ( MDI
> interface )
> 
> 
> > Hello there,
> >
> > Control.cs
> > Form.cs
> > NativeWindow.cs
> > Win32functions.cs
> > Win32structs.cs : initial implementation of MDI
> > interface.
> >
> > Regards
> > Aleksey
> >
> >
> >
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Tax Center - File online, calculators,
> forms, and more
> > http://platinum.yahoo.com
> 
> _______________________________________________
> Mono-winforms-list maillist  - 
> Mono-winforms-list@lists.ximian.com
>
http://lists.ximian.com/mailman/listinfo/mono-winforms-list


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com