[Mono-list] System.Windows.Forms.ComboBox Perculiarities

John BouAntoun jbouantoun@rogen.com.au
Fri, 31 Oct 2003 12:21:52 +1100


This is a multi-part message in MIME format.

------_=_NextPart_001_01C39F4D.5D64D6F6
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

you think they could have wrapped them properly?
=20
I don't want to delve into MFC just to be able to catch my =
OnCreateControl

 -----Original Message-----
From: Jose Fuentes [mailto:JFuentes@classicfs.com]
Sent: Friday, 31 October 2003 12:12 PM
To: John BouAntoun
Subject: RE: [Mono-list] System.Windows.Forms.ComboBox Perculiarities



I found out from an MS source that several of the controls are just =
wrapers around the old com controls. Only a few controls have been =
redone to 100% .Net.
=20
Combobox, tab control, listbox,listview and even tool bar are just a few =
of the hacks.
=20
Joe

-----Original Message-----
From: John BouAntoun [mailto:jbouantoun@rogen.com.au]
Sent: Thursday, October 30, 2003 8:11 PM
To: mono-list@lists.ximian.com
Subject: [Mono-list] System.Windows.Forms.ComboBox Perculiarities



Anyone ever noticed that you can't override the ComboBox.OnPaint method =
successfully?=20

You have to actually catch the message in windproc.=20

I'm guessing this is the same thing for the OnControlCreated?=20

JBA=20


------_=_NextPart_001_01C39F4D.5D64D6F6
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<TITLE>System.Windows.Forms.ComboBox Perculiarities</TITLE>

<META content=3D"MSHTML 6.00.2800.1264" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D581212001-31102003><FONT face=3DArial color=3D#0000ff =
size=3D2>you=20
think they could have wrapped them properly?</FONT></SPAN></DIV>
<DIV><SPAN class=3D581212001-31102003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D581212001-31102003><FONT face=3DArial color=3D#0000ff =
size=3D2>I=20
don't want to delve into MFC just to be able to catch my=20
OnCreateControl</FONT></SPAN></DIV>
<DIV><SPAN class=3D581212001-31102003></SPAN><FONT face=3DTahoma><FONT =
face=3DArial=20
color=3D#0000ff size=3D2></FONT><BR><FONT size=3D2><SPAN=20
class=3D581212001-31102003><FONT face=3DArial=20
color=3D#0000ff>&nbsp;</FONT></SPAN>-----Original =
Message-----<BR><B>From:</B>=20
Jose Fuentes [mailto:JFuentes@classicfs.com]<BR><B>Sent:</B> Friday, 31 =
October=20
2003 12:12 PM<BR><B>To:</B> John BouAntoun<BR><B>Subject:</B> RE: =
[Mono-list]=20
System.Windows.Forms.ComboBox Perculiarities<BR><BR></FONT></DIV></FONT>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
  <DIV><SPAN class=3D223161001-31102003><FONT face=3DArial =
color=3D#0000ff size=3D2>I=20
  found out from an MS source that several of the controls are just =
wrapers=20
  around the old com controls. Only a few controls have been redone to =
100%=20
  .Net.</FONT></SPAN></DIV>
  <DIV><SPAN class=3D223161001-31102003><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D223161001-31102003><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2>Combobox, tab control, listbox,listview and even tool bar are =
just a=20
  few of the hacks.</FONT></SPAN></DIV>
  <DIV><SPAN class=3D223161001-31102003><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D223161001-31102003><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2>Joe</FONT></SPAN></DIV>
  <BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
    <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
    size=3D2>-----Original Message-----<BR><B>From:</B> John BouAntoun=20
    [mailto:jbouantoun@rogen.com.au]<BR><B>Sent:</B> Thursday, October =
30, 2003=20
    8:11 PM<BR><B>To:</B> mono-list@lists.ximian.com<BR><B>Subject:</B>=20
    [Mono-list] System.Windows.Forms.ComboBox=20
Perculiarities<BR><BR></FONT></DIV><!-- Converted from text/rtf format =
-->
    <P><FONT face=3DArial size=3D2>Anyone ever noticed that you can't =
override the=20
    ComboBox.OnPaint method successfully?</FONT> </P>
    <P><FONT face=3DArial size=3D2>You have to actually catch the =
message in=20
    windproc.</FONT> </P>
    <P><FONT face=3DArial size=3D2>I'm guessing this is the same thing =
for the=20
    OnControlCreated?</FONT> </P>
    <P><FONT face=3DArial size=3D2>JBA</FONT>=20
</P></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C39F4D.5D64D6F6--