.NETGURU
Custom Controls
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngcontrolsvb' list.


Stephen Rees
Has anyone got any examples on custom controls in WinForms, nothing
sopectacular, just something that gives the basics. There is currently a
nice knob control ( ahem, ahem) at CSharpCorner.com.

I haven't looked at it yet but am about to, it should be helpful.

That one is obviously going to be fully owner drawn.

The measly single example (the one I can find) in the VS net help don't
really do anything, just add another property to an extended combo or text
box.

What I am after is this. At devexpress they seem to drop down all sorts,
calendars and calculators and memo's and all sorts.

I want to know how much of this has been inherited.

If a calculator has been dropped down froma combo, they're going to need to
stop a normal list being dropped down.
How do you inhibit the normal workings of a built in control ?
How do you get the calculateor there ?
Say the calculator was a completely seperate control with its own paint
method etc.
How then would we drop it down from a combo ? Do we just make it appear at
the bottom left of the combo ?
Do we drop it down from a combo, or do we paint a little arrow in the corner
of a text box and drop it down when that is clicked.

Is a combo just an extended text box (albeit with a Currency Manager) that
drops down a list box ?

Rather than get stuck into what we can inherit and what we can overide,
what's best to use that's built in, maybe this, maybe that, what's not ...
we'de probably be just as well off creating a whole set of owner painted,
pure custom controls.

Please can anyone supply any code, links on the subject.
Is it me or is there a distinct lack of help in VS on custom stuff,
especially controls and especially, especially, especially column controls
for the grid.

I'll resort to expensive books and paying for decent code if I eventually
have to, where I'll get the dosh from is anyones guess, sort of need the
code to make some money to pay for the code, know what I mean. If I had it I
would but I ain't so I can't.

Steve.
Reply to this message...
 
    
youngm@nationwide.com

Have you been to gotdotnet and looked that the tutorials?

http://samples.gotdotnet.com/quickstart/winforms/

You might also want to check out the Web Custom Controls section. There is
some overlap in the techniques.

You could also look at MSDN Code Center or the Visual Studio help. They
had some nice walk-thru's for Web Custom Controls in the VS help. I have
not looked for Winform Controls, but I knwo I saw some in my searches for
Webform custom control help.

"Stephen Rees"
<Click here to reveal e-mail address> T
To: "aspngcontrolsvb" <Click here to reveal e-mail address>
cc:

bcc:
06/17/2002 04:20 AM Subject: [aspngcontrolsvb] Custom
Please respond to Controls
"aspngcontrolsvb"

Has anyone got any examples on custom controls in WinForms, nothing
sopectacular, just something that gives the basics. There is currently a
nice knob control ( ahem, ahem) at CSharpCorner.com.

I haven't looked at it yet but am about to, it should be helpful.

That one is obviously going to be fully owner drawn.

The measly single example (the one I can find) in the VS net help don't
really do anything, just add another property to an extended combo or text
box.

What I am after is this. At devexpress they seem to drop down all sorts,
calendars and calculators and memo's and all sorts.

I want to know how much of this has been inherited.

If a calculator has been dropped down froma combo, they're going to need to
stop a normal list being dropped down.
How do you inhibit the normal workings of a built in control ?
How do you get the calculateor there ?
Say the calculator was a completely seperate control with its own paint
method etc.
How then would we drop it down from a combo ? Do we just make it appear at
the bottom left of the combo ?
Do we drop it down from a combo, or do we paint a little arrow in the
corner of a text box and drop it down when that is clicked.

Is a combo just an extended text box (albeit with a Currency Manager) that
drops down a list box ?

Rather than get stuck into what we can inherit and what we can overide,
what's best to use that's built in, maybe this, maybe that, what's not ...
we'de probably be just as well off creating a whole set of owner painted,
pure custom controls.

Please can anyone supply any code, links on the subject.
Is it me or is there a distinct lack of help in VS on custom stuff,
especially controls and especially, especially, especially column controls
for the grid.

I'll resort to expensive books and paying for decent code if I eventually
have to, where I'll get the dosh from is anyones guess, sort of need the
code to make some money to pay for the code, know what I mean. If I had it
I would but I ain't so I can't.

Steve.

| [aspngcontrolsvb] member Click here to reveal e-mail address = YOUR ID
| http://www.asplists.com/asplists/aspngcontrolsvb.asp = JOIN/QUIT
| http://www.asplists.com/search = SEARCH Archives

Reply to this message...
 
 




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification