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.
 

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