Fog Creek Software
Discussion Board

Welcome! and rules

Joel on Software

Interface consistency

three different scrollbar styles in the same window? what the heck? I don't know if the ASP.NET Web Matrix is written with WinForms, but this isn't very encouraging anyway...

Thursday, September 19, 2002

That's interesting -- hadn't noticed before.  It doesn't really reflect anything on .NET or WinForms.  First, I don't believe it is written in .NET (maybe just the designer, like VS.NET), and second, what someone does with a technology doesn't mean much (there are a lot of odd programs in VB and C++ and in pretty much any other technology).

Michael Giagnocavo
Thursday, September 19, 2002

Web Matrix is written in Windows Forms, however it uses a lot of Win32 Interop. In Visual Studio .NET, by adding a reference in the toolbox to ...\IDE\Microsoft.Saturn.UIComponents.dll you can actually drag and drop the various user interface components into your own projects. Obviously you probably wouldn't be licensed to use them for anything.

Interestingly, throughout the entire application they have subclassed the Windows Forms control to provide their own look and feel. (i.e. the flat look)

Using Anakrino or Lutz Roeder's Reflector tool will provide you with a ton of information on this. As well, it's interesting to see how a high quality, commercial .NET application is structured.

Matt Kennedy
Thursday, September 19, 2002

Michael: I wanted to know if it's a WinForm inconsistency, or just a particular application's. In Common Controls, for example, some controls have flat scrollbars, and some haven't, and in turn flat scrollbars are non-standard and cannot be turned on universally by the user. Nor by the developer, without some heavy wizardry, like patching user32.dll in memory

Matt: thanks. But I can't help thinking what's the use of subclassing such cool widgets :-)

Thursday, September 19, 2002

Information on how the Web Matrix project was conceived and built can be found here...


Anil John
Thursday, September 19, 2002

*  Recent Topics

*  Fog Creek Home