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

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


This is a multi-part message in MIME format.

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

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

You have to actually catch the message in windproc.

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

JBA

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

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.0.6396.0">
<TITLE>System.Windows.Forms.ComboBox Perculiarities</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=3D2 FACE=3D"Arial">Anyone ever noticed that you can't =
override the ComboBox.OnPaint method successfully?</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">You have to actually catch the message =
in windproc.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I'm guessing this is the same thing for =
the OnControlCreated?</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">JBA</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C39F4B.D806CCD6--