Welcome to MSDN Blogs Sign in | Join | Help

July 2005 - Posts

Why full sources?

I've had a couple requests to include the complete source code for the samples in the hwnd interop white paper. And I'm going to try to include them in the official Avalon SDK version (although my first priority right now is getting images in there --
Posted by nkramer | 2 Comments

Avalon and Win32

Dan asks: Can you please explain the relationship between Win32 subsystem and WinFX. In PDC it was told thar WinFx replaces Win32. Now it looks like USER and Win32K are still in use Good question. WinFX is where all the innovation is, both in the Longhorn/Avalon
Posted by nkramer | 3 Comments

interop performance

Michael Lowe asked about performance of interop. I don't have as many hard numbers as I would like, it's on my (very long) to do list to do some profiling on a couple samples. But a couple thoughts. All Avalon applications are ultimately inside a HwndSource
Posted by nkramer | 0 Comments

The Render thread

Time to stop talking about hwnd interop for a few moments and get back to some earlier questions. Lee asked what the mysterious renderer thread does. Good topic, and I happened to have some previously written material lying around on just that question.
Posted by nkramer | 4 Comments

The hwnd interop white paper

So that concludes my series about hwnd interop, which is really a draft of the hwnd interop white paper that will go into a future release of the Avalon SDK documentation, as part of an upcoming "articles from the architects" series. To recap, here's
Posted by nkramer | 6 Comments

hwnd interop (part 4)

A walkthrough of Win32 inside Avalon (HwndHost) To reuse Win32 content inside Avalon applications, one uses HwndHost, which is a control that makes hwnds look like Avalon content. Like HwndSource, HwndHost is straightforward to use – subclass HwndHost
Posted by nkramer | 3 Comments

hwnd interop (part 3)

A walk through of Avalon inside Win32 (HwndSource) To put Avalon inside Win32 applications, one uses HwndSource, which provides an hwnd that contains your Avalon content. HwndSource is pretty straightforward to use – first you create the HwndSource, giving
Posted by nkramer | 6 Comments

Interop at the PDC!

The sessions for Microsoft's Professional Developer Conference (PDC) 2005 have been announced . I'm really looking forward to it, I'll be the speaker for the hwnd/Win32 interop talk. (Which is why I'm so anxious to finish the white paper -- so I can start
Posted by nkramer | 0 Comments

hwnd interop commentary

Couple notes about where this series is going: part 1 was an introduction to the topic part 2 is about airspace and what can and can't be done visually. The final paper will include some stuff about layered windows, I had some material written but I decided
Posted by nkramer | 0 Comments

hwnd interop (part 2)

Airspace Now that we understand what's going on behind the scenes, let's describe some of implications, which I refer to as "airspace". Within a top-level window, I like to think of each hwnd as having its own "airspace" -- each pixel within the window
Posted by nkramer | 3 Comments

hwnds and the DWM

I wrote that "All Avalon elements on the screen are ultimately backed by hwnds." Yep, even on Longhorn. One of the changes we made to USER and Win32k.sys in Longhorn is that when the DWM is on, all top-level windows (Avalon or otherwise) are rendered
Posted by nkramer | 2 Comments

hwnd interop (part 1)

So I've been trying for a while to finish a white paper about Avalon's hwnd interop functionality. I'm still not done, but figured I would post what I have so far so I can get people's feedback. I'm pasting this from MS-Word, which generates some, err,
Posted by nkramer | 6 Comments

MDI Windows

Johan asked me about MDI support in Avalon. We don't plan to have a native Avalon implementation of MDI in version 1, mainly because MDI is so easy to do using Windows Forms and Windows Forms interop. I whipped together a quick demo of this, spending
Posted by nkramer | 6 Comments

Future topics

Couple quick responses to that "what to cover next" post, in case I don't get another chance for awhile: Threading and STA -- I'm always happy to talk about threading, although I already wrote a lot into previous post. Regarding STA specifically, currently
Posted by nkramer | 7 Comments

Upgrading from March CTP to May CTP

So I spent part of my weekend updating various applications to the most recent CTP. I figured I would try it the same way most people outside of Microsoft would do it -- by using Google and searching the Avalon newsgroup. All told, I found the answers
Posted by nkramer | 0 Comments

What do you want to hear about?

I can ramble on about whatever is on my mind, but I prefer to talk about things that people are actually interested in. Any suggestions? I'd prefer to stick to stuff I actually work on -- e.g., interop with WinForms and Win32/hwnds, input, commanding,
Posted by nkramer | 5 Comments
 
Page view tracker