Items that look and work like Common Controls

Need a new feature for your application? Post your request here.

Moderators: Frank Hileman, Anne Szyjan

Post Reply

Do you need a common-control look alikes?

Yes
5
100%
No
0
No votes
 
Total votes: 5

WellsCaughey
Posts: 7
Joined: Wed Dec 08, 2004 8:50 am

Items that look and work like Common Controls

Post by WellsCaughey » Fri Apr 01, 2005 6:10 am

I haven't looked at your product recently (got stuck on server development), so it may already be there, but adding shapes/pictures that look and behave like Windows Common Controls would greatly improve the business value of your product. You may think it strange that I would ask for UI Elements that are already available for free with windows, but the Common Controls are very slow, almost impossible to extend, and not particularly composable. If you use Spy++ to examine some of Microsoft's own applications you'll see that many controls that look like common controls are if fact custom controls.

Perhaps a library of these common controls should be made as an example so that developers like me can save time creating them, but also tweak them if needed.

User avatar
Frank Hileman
Site Admin
Posts: 1400
Joined: Sun Jul 25, 2004 8:16 pm
Location: California
Contact:

Post by Frank Hileman » Fri Apr 01, 2005 7:19 am

Yes, this is in our plans. You are exactly correct.

We have to spend less time on the engine and more on things built on top. The layout enhancments coming will help greatly. We have already started sliders and gauges.

So the first step will be to create some base classes that have no graphical content whatsoever, but establish a common API for Button, Slider, Scrollbar, etc features. Perhaps we should start a forum on this.

One problem currently is a text editor that does not use a windows forms control. Anyone with experience in this area knows it is much more difficult than it looks, once you start adding the commonly expected features (selection by mouse, scrolling, etc).

User avatar
DelbertZZZ
Posts: 38
Joined: Tue Feb 08, 2005 12:06 pm
Contact:

Post by DelbertZZZ » Mon May 09, 2005 10:22 am

I was just wondering if this is still being pursued. I have come across a situation where it would be nice to populate a rectangle with an unknown amount or dynamic list of items from a database and assign an index to each item and have a vertical scroll bar to scroll through the items...much like a listbox or combo box.

User avatar
Frank Hileman
Site Admin
Posts: 1400
Joined: Sun Jul 25, 2004 8:16 pm
Location: California
Contact:

Post by Frank Hileman » Mon May 09, 2005 12:26 pm

Using the ClipRectangle property you can clip a SubPicture contents. Within the SubPicture then you can apply a Translation to scroll up and down. This is how the DesignerSurface works.

Post Reply