Drawing a control within a StatusBarPanel

  • Thread starter Thread starter Keith Patrick
  • Start date Start date
K

Keith Patrick

I have a StatusBarPanel set to OwnerDraw, and I've overriden DrawItem, but I
can't seem to figure out how to draw another control (a TextBox in this
case) within the StatusBarPanel. I've run across several progress bar
examples, but they tend to draw rectangles rather than an actual control. I
figure there's some way to connect the Graphics object to a TextBox, but I
can seem to figure out how.
 
* "Keith Patrick said:
I have a StatusBarPanel set to OwnerDraw, and I've overriden DrawItem, but I
can't seem to figure out how to draw another control (a TextBox in this
case) within the StatusBarPanel. I've run across several progress bar
examples, but they tend to draw rectangles rather than an actual control. I
figure there's some way to connect the Graphics object to a TextBox, but I
can seem to figure out how.

I would add a real TextBox control to the panel instead of drawing it.
 
Back
Top