Paint a user control outside the bounds of the form (C#)

C

calum.ritchie

Hi,

How do you make a user control appear outside the bounds of a form in
c#.

Here's the problem:

I've created a multi-tier combo box (i.e. a combo box that has sub
menus for some of the items in it). Whenever you hover over an item in
the box that has sub items then i display a list box containing the sub
items.

I need to be able to paint the sub item list box outside the borders of
the form, so that if the combo box is near the edge of the form the sub
menu can still be displayed.

Thanks in advance for any help,

Calum
 
D

David Wier

At first I thought I had a good answer for you - it was to make the form
bigger than you need it (below the cbo box) - and put a panel or picture box
or anything, with the background color being black -spreading the control
over the entire larger portion of the form - then, making the transparency
color black - however, the edges of the form still show - - this might start
you in a direction, so you can get the answer ......
 

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

Top