How to create a C# Winforms Control that hovers

后端 未结 3 1605
感动是毒
感动是毒 2020-11-30 07:52

How can you create a C# Winforms control which goes out of the bounds of its region? Such as a drop down box. Kind of like if you had a DropDownBox in a Small Sized Panel.<

3条回答
  •  無奈伤痛
    2020-11-30 08:44

    There is a good article here:

    http://www.vbaccelerator.com/home/NET/Code/Controls/Popup_Windows/Popup_Windows/article.asp

    This has a class which handles some of the tricky aspects of getting this to work correctly, such as keeping the application window titlebar active, handling Alt-Tab and cancelling with a mouse click.

提交回复
热议问题