New control ... suggestions needed

J

jedirunner

I'm writing my first custom control in VS.Net 2003 (will port to 2005
soon). It will be a textbox control with custom painting.

My first question is what control to inherit from? I can't find
S.W.F.UserControl for .Net CF. :( That leaves the following (that I
can find) as possible base classes:

- Control
- ContainerControl
- ScrollableControl
- Panel

Given that my control will contain a toolbar, 2 scrollbars, and a
custom text area (That's the meat of this custom control), which one
should I use? Given that I also want to better understand they
choices, why should I pick a particular parent class for this
situation?

Thanks!
 

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