display "dropdown list" outside borders of control

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi

I am trying to build a custom combobox type of control. I am not able to
inherit from System.Windows.Forms.Combobox, as I need to override
OnPaint, to draw a custom version of the fixed (not dropdown) part of the
control),
so therefore am deriving from control.

How can I cause the list area to draw outside the bounds of my custom
control, and its parent controls, as at the moment it gets clipped by these?

Adam
 
* =?Utf-8?B?YWRhbUB0d3Yub3Jn?= said:
I am trying to build a custom combobox type of control. I am not able to
inherit from System.Windows.Forms.Combobox, as I need to override
OnPaint, to draw a custom version of the fixed (not dropdown) part of the
control),
so therefore am deriving from control.

How can I cause the list area to draw outside the bounds of my custom
control, and its parent controls, as at the moment it gets clipped by these?

<URL:http://vbaccelerator.com/article.asp?id=13309>
 
Back
Top