 |
|
 |
Like many who use The Code Project we've spent countless hours building custom controls to meet our needs. Unfortunately, it's hard to justify spending thousands of hours on a custom control unless you intend to market them.
We've just released a beta of List Controls for .NET WinForms which includes the most advanced list box and combo box controls ever built for any platform.
Sounds too good to be true? Please, confirm this statement for yourself. A beta of List Controls is available for download from our website, including a comprehensive demo and tutorial.
http://www.it-partners.com/products/list_controls_win_forms/list_controls.asp[^]
Many features, too many to list here!
Brett Werner
it-partners.com
|
|
|
|
 |
|
 |
This website is about sharing code, not to post advertisements for commercial software. In my opinion, this is nothing but forum spam!
|
|
|
|
 |
|
 |
Wouter,
please accept my sincere apologies. I had no intention to offend you. And being someone who hates spam I would never deliberately create spam.
Rather, here are my reasons:
1. I never build a custom component myself when there is a good commercial option. It will always cost much more (my time) and take me away from the work already on my desk. I assume many visitors to The Code Project are like me, looking for source code to enhance existing controls because a good option is not available. Well, in this case one is, and I sincerely thought a lot of readers (some at least) might like to know that.
2. I posted my message on a topic directly related to .NET development and enhancement of the .NET combo box. That is, I didn't just post this information anywhere.
Regardless of my reasons, it's your page and I won't be offended if you choose to delete my message.
Better still, I have a suggestion. You've obviously spent quite a deal of time working with the .NET combo box. So you're perhaps better suited than most to take a look at List Controls and review them? Quite honestly, we'd love to hear your opinion of them.
And if you're not impressed, you have just the place to tell everyone!
Best regards,
Brett.
|
|
|
|
 |
|
 |
Start up the demo project - then observe the memory usage using Task Manager.
I wonder what would happen if the app was left running for days at a time. On my machine it just keeps climbing...although my 'performance' numbers seem stable.
Any thoughts?
Excellent piece of work - my compliments.
Jerry
JerryT
|
|
|
|
 |
|
 |
Oops Disregard - memory usage seems to peak after a while and then remain stable.
Have to rate this oone a 5! Good job.
JT
JerryT
|
|
|
|
 |
|
 |
Thanks! I know people who use this control in applications runing 8 hours a day, I don't think it causes any problems. If there are problems, please tell me so I can try to fix them. Btw, I'm working on another update, including a version made with VS2005.
-- modified at 14:48 Wednesday 23rd November, 2005
Please take also a look at the memory values while the combobox is not running.
|
|
|
|
 |
|
 |
Hello,
you made a great control, congrats !
I have nevertheless a remark about the use of GDI+ resource (Pen, Brush, ...).
As you certainly know, the GDI+ resources must be released as soon as possible (their number used to limited by the OS, I don't know about modern oses like w2000, or wXp).
I would recommand writing :
using( Pen pen = new Pen( ...) )
{
e.Graphics.DrawRectangle( e.Graphics, pen, rect ) ;
}
instead of
e.Graphics.DrawRectangle( e.Graphics, new Pen(...), rect ) ;
That way, you ensure that the pen.Dispose() method will be called at the end of the using block.
The 'using' syntax is very usefull when using disposable classes like GDI+ but even OleDb command and so on...
Keep up the good work,
Bertrand
|
|
|
|
 |
|
 |
I agree, but this was my very first work with GDI+ so I didn't know much about it. I wil revise the code once again in the holidays. Thanks for letting me know!
|
|
|
|
 |
|
 |
Hello again
I've seen you used a lot of Function(...)/End Function.
This is not, in formal and semantic terms, correct.
You means:
Private Private Sub(...)
End Sub
??
Thank you again
|
|
|
|
 |
|
 |
Yes, I agree. But I don't think that causes any problems?
|
|
|
|
 |
|
 |
Only problems for reading and understanding code. Subs does not return any value (void). Functions return values.
Setting explicit to on(default for most programmers) causes lot of errors.
That's all.
Bye
-- modified at 15:13 Monday 14th November, 2005
|
|
|
|
 |
|
 |
Hello
congratulations for your great job and for Prize Winning!
I ask your permission for use FlatComboBox source code in my commercial application.
Thank you
Dod
|
|
|
|
 |
|
|
 |
|
 |
Sorry but the published is a dummy mailbox. I cannot read.
Just to avoid spam.
Regards,
|
|
|
|
 |
|
 |
Ok, can you send me a working email adress, using the email function next to reply on this message. Thanks in advance.
|
|
|
|
 |
|
 |
Oh... does not matters anymore. I've just read usage rules in CodeProject acticles FAQ!
Thank you, however!!
Another thing. Could you better explain what means
Case 7, 8, &H7, &H8, &H200, &H2A3
'CMB_DROPDOWN, CMB_CLOSEUP, WM_SETFOCUS,
'WM_KILLFOCUS, WM_MOUSEMOVE,
'WM_MOUSELEAVE
It appears to be a little confusing. I Googled, but I've not found CMB_DROPDOWN and CMB_CLOSEUP in some enumeration around.
Thank you once more
|
|
|
|
 |
|
 |
Those are Windows messages, "sub wndproc" listens to those messages.
For example: mouse moves: message=&H200
I think "WM_MOUSEMOVE" is just a name, but i'm not sure.
for more information:
Windows platform SDK[^]
WM_MOUSEMOVE[^]
-- modified at 13:44 Tuesday 15th November, 2005
Just another thing: what is your application about, or do you have a website?
|
|
|
|
 |
|
 |
Sorry for the delay on replying you.
Thank you for the informations about windows messages.
About our application: it's a components and controls collection, and we don't have a website at the moment. It will be launched at the end of the year.
Don't worry!: we have rewritten our own ComboBox with additional features as Images, AutoComplete, etc.
Thank you again.
D.
|
|
|
|
 |
|
 |
inherits Combobox
is not support datasource,datamember,ValueMember
Please help me
wirat
|
|
|
|
 |
|
 |
I'm sorry but I haven't ever used those. Can you tell me someting more about that? If they work in the normal combobox they should work in this one to, cause it inherits the Microsoft combobox.
|
|
|
|
 |
|
 |
This work is great, although I would like to see a correction to an overflow happening when strings are large. The selected string seems to paint over the arrow button.
Sotiris Filippidis
|
|
|
|
 |
|
 |
I will soon post a first revision of this control, thanks to warn me about this problem.
|
|
|
|
 |
|
 |
I've just sent an update (including this bug-fix) to the admins.
|
|
|
|
 |
|
 |
idisThanks for the quick reply!
Sotiris Filippidis
|
|
|
|
 |
|
|
 |