HTML in controls

I haven't done Windows programming for a while, and am just getting back to speed, in the mean time reading about the features in .NET, Longhorn, and Whidbey.

I see the Whidbey release supports a .NET based WebBrowser control, which should be good. However, what I've wanted for a while is just the ability to use HTML within any control and have it formatted richly. So to allow a label, textbox, listbox, button, etc. with HTML formatting, rather than rely on more complicated means of putting together these features.

Will there ever be support for something like this; and if not, why not  It seems a very useful and productive thing to have.

brian.shapiro


Answer this question

HTML in controls

  • ax251

    I appologize for being a little OT... I've developed some extremely powerful speech applications in asp.net with hardly any effort, complex prompts, its very nice.

    However, the speech server will be about 7 grand, and if used in a winform would have to be integrated via web service, but the easiest would be having controls that represent the invisible asp.net pages....

    Back OT, we could really use some help on TaskVision regarding this - we are trying to work with xaml more, and I'm very interested in being able to skin the application by using some form of markup file, however, html might be too difficult to translate, I think we would use what we have in whideby although I haven't had a chance to work with that yet.

  • miztaken

    Supporting HTML arbitrarily in any control is indeed a useful feature.  And it's a feature we've had many requests for.  Unfortunately, Windows Forms is a Win32 wrapper and Win32 programming was not designed with this sort of arbitrary nesting in mind.  

    Will there ever be support for this   Yes, Avalon is designed from the ground up for this sort of arbitrary nesting of UI and markup.  Unfortunately, it will not be available until Longhorn and it will not be available on down-level OSs.

     - mike

  • DanMoseley

    I assume this means that in Avalon the ability to nest includes any type of controls inside of another

    I'm just wondering; Whidbey will be released about a year before Longhorn, by standard estimates. Will there be another release or tools with Longhorn to allow people to take advantage of its features

    Also, what type of changes will we see in the development of Microsoft's Windows Mobile platform, PocketPC for instance, from a programmers perspective

    brian.shapiro

  • HTML in controls