Re: Thinking Clearly
- From: lurkio <spam@xxxxxxxxx>
- Date: Wed, 05 Jul 2006 10:40:32 +0100
Barry Kelly wrote:
Have you checked out WPF lately? If you want the resolution-independent,
vector-based, properly composited experience with WPF, you've got no
choice - you must go .NET, because there's no unmanaged API.
There are two other alternatives: (1) stick with existing Win32 and look
old and out of place (remember Win 3.1 vs Win 95, white dialogs vs
grey?), or (2) develop your own compositing engine.
Are you quite sure about all that ? I quote from the following
interview with a couple of Redmond's .NET cognoscenti about
WPF interoperability :
Specifically, the following quotes :
"SS: If the Office team wanted to enhance Excel, which is
mainly a C++/Win32 app, with WPF, what would that take?
"MH: Yes, you can do that. <edit> If developers have pure
C++, unmanaged applications, and they want to leverage
WPF, they have an interoperability model as well. It's
using a base technology in WPF, which consists of two
classes known as HWndSource, and HWndHost. These are the
things that we build on top of for Windows Forms interop.
Those allow us to build the hosting controls we need for
I saw a good quote that sums things up on this was on Nick
Kramer's WPF blog :
"You can build some wonderful programs using Avalon, and there’s
no need to the throwaway you’re existing investment in Win32
technologies in order to leverage Avalon. As we’ve seen, we
can put hwnds inside Avalon programs, and we can put Avalon
code inside of hwnds, and even mixtures of those two, to create
incredibly powerful programs that leverage your existing code.
HwndSource, HwndHost, and IKeyboardInputSink make all of this
- Prev by Date: Buying Borland Delphi
- Next by Date: Re: Thinking Clearly
- Previous by thread: Re: Thinking Clearly
- Next by thread: Re: Thinking Clearly