BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

VCL rewrite?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi VCL Components Writing
View previous topic :: View next topic  
Author Message
Ian Boyd
Guest





PostPosted: Fri Oct 31, 2003 2:33 am    Post subject: VCL rewrite? Reply with quote



Borland seems to be slacking off in exposing features of the common controls
through the VCL.

Are there any attempts to implement a library of visual components based on
the Windows controls?

i've seen some Toolbar and Rebar components reimplemented as full-featured
controls. Is there an effort somewhere to properly implement all the Windows
common controls?


Back to top
Constantine Yannakopoulos
Guest





PostPosted: Fri Oct 31, 2003 12:52 pm    Post subject: Re: VCL rewrite? Reply with quote



Author := "Ian Boyd";

Quote:
Is there an effort somewhere to properly
implement all the Windows common controls?

What features are you missing?

Do you mean re-wrap microsoft's common controls or implement new
controls with similar functionality?

For the former you have to keep in mind that Borland minds OS
compatibility. For example if they implemented the new features
introduced in XP the VCL would not work with previous versions of
windows (98, 2000).

For the latter take a look at Mike Lischke's VirtualTreeView:

http://www.delphi-gems.com/VirtualTreeview/VT.php

Can act as a treeview (with columns), a listview or a grid.

--
Constantine

Back to top
Ian Boyd
Guest





PostPosted: Fri Oct 31, 2003 3:41 pm    Post subject: Re: VCL rewrite? Reply with quote



Quote:
What features are you missing?

The only thing i can think of off the top of my head is what i've been
cursing over for a little while:

Toolbar button style BTNS_SHOWTEXT, BTNS_WHOLEDROPDOWN
Toolbar style TBSTYLE_EX_MIXEDBUTTONS

It came out with 2000/Me. It's not even XP only.

Quote:
Do you mean re-wrap microsoft's common controls or implement new
controls with similar functionality?

No, rewrap the controls. Or just keep the controls up with what's in the
controls.

Quote:
For the former you have to keep in mind that Borland minds OS
compatibility. For example if they implemented the new features
introduced in XP the VCL would not work with previous versions of
windows (98, 2000).

i understand that. And there are various ways of dealing with it.
Have an "OS x" only version of a control.
Let the messages and styles get used anyway, the older OS's won't know
what they are and ignore them.
Let the developer choose to show a screen this way or that depending on
the OS (like MS says we have to do anyway).
i'm sure their smart guys that think of other ideas.

Quote:
For the latter take a look at Mike Lischke's VirtualTreeView:
i use it, and wrote my own descendant component to accomplish a lot of what

we do here.


In Borland's defence, even the .NET framework that exposes the common
controls though an object interface doesn't expose every feature. But i
would like Borland to at least pretend they are trying to keep up.

(*If i had to choose between kylix cross-platform compatibility, and
listview groups with tile view: i choose the listview*)



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi VCL Components Writing All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.