Painting over the textbox of a combobox

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?RmxvcmlhbiBLb3dhbHNreQ==?=

    Painting over the textbox of a combobox

    I need to paint a rectangle in above the textbox of a combobox.
    How can i do that.

    At present the rectangle is always in the background and the textbox is in
    the foreground!!

    Thanks
  • Ignacio Machin ( .NET/ C# MVP )

    #2
    Re: Painting over the textbox of a combobox

    On May 23, 2:32 am, Florian Kowalsky
    <FlorianKowal.. .@discussions.m icrosoft.comwro te:
    I need to paint a rectangle in above the textbox of a combobox.
    How can i do that.
    >
    At present the rectangle is always in the background and the textbox is in
    the foreground!!
    >
    Thanks
    You can derive from it and handle the painting yourself, I saw an
    example in opennetcf.org about a listbox, it might help you.
    "Owner drawed control" could be the search term to look for articles
    about this

    Comment

    Working...