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>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top