Welcome to Windows Presentation Foundation (WPF)
Top Tasks :

WPF Team Bloggers

Browse by Tags

All Tags » WPF » Vista   (RSS)

  • What does Windows Vista SP1 Mean for Developers?

    As many people will have noticed, we released Windows Vista Service Pack 1 this week ( read about the notable changes here ). Aside from the inevitable bug fixes and enhancements to support new hardware types, one of the underlying changes is that SP1 brings the Windows Vista and Windows Server 2008 codebases together. This is a big deal, but it's surprising how few people have noted it: this is the first time we've ever had a common codebase for Windows that goes all the way from a budget consumer PC right up to a mainframe-class datacenter server. Internally to Microsoft, this makes it easier for us to provide sustained engineering on the product: if we want or need to update a system component, we only have to produce two binaries (x86 and x64) for all languages and product editions. Compare that to the days of Windows XP/2003, when we had maybe 25 different language editions and x86 and x64 variants for both client and server OS releases, and you can see how the testing matrix has become Read More...
  • Announcing: Vista SP1 RTM/ WPF App quality guide

    The WPF team at Microsoft is happy to present the first release of the WPF Application Quality Guide. http://windowsclient.net/wpf/white-papers/wpf-app-quality-guide.aspx It’s a guide that upon completion can be a one-stop shop for guidance and best practices to improve product quality and testability for WPF applications. For those who missed the news yesterday, Vista SP1 was released to manufacture for the first set of languages (English, French, Spanish, German and Japanese). See the complete post here Share this post Read More...
  • 3.5 features: Addins

    In 3.0, we received a number of queries regarding creating plugins. So in 3.5 we got this in .. :) .. Creating an adding would bsically need the use of 3 dlls - System.Addin, System.Addin.Contract, System.Presentation The basic steps to create the addins involves creating a contract, then create the corresponding views and adapsters for both the host and the addin. So in total you will be creating 5 dlls in addition to the app and the actual addin. Even though this looks a bit overwhelming, its pretty simple. http://blogs.msdn.com/clraddins/ gives more information about creating addins. In order to try out this framework, I added the addin support to blogpad with the host being able to set text in the addins... So the app basically has an addin for a calculator (which can be removed) and an ad at the side... You can try out the code that is attached .. FYI, the ad plugin links to an xbap and this line is commented in code.. You might want to point it to a legit xbap to get this plugin working. Read More...
  • Back to the Future @TechEd 2007

    Now this is pretty funny... Watch the video that was played at the start of the keynote address at TechEd 2007 Video: Microsoft Back to the Future Share this post Read More...
  • WPF Blog Writer

    Recently, I was trying my hand at creating a simple blog writer. The writer came out pretty nice. The app makes use of a base richEditor control (thanks to Praj ).. After a bit of tweaking it ended up like the above... So the app just makes a simple call in the xaml <custom:RichEditor/> ...tada ... you have it there!!! The next thing is to write to a blog... In this case, the writer is coded to post the entry on blogger, which makes use of the Google data API .. this could easily be changed for other blogs. It also makes use of a Xaml-HTML converter as the string passed needs to be in HTML. For now, its a blog writer - hence, it onluy writes. But it could easily be extended into a full blown Blog client. Do I hear anyone taking it up :) The code is attached .. so have fun with it .. Share this post Read More...
  • Microsoft Surface

    Unrelated to text, but extremely cool... Microsoft Chairman Bill Gates once talked about putting a PC on every desk. Now Gates is talking about turning the desk itself — or a tabletop — into a computer. Microsoft is set to announce an ambitious new computing category today called "surface computing" to try to make it happen. The initiative, several years in the making, transforms an ordinary tabletop into a translucent, interactive façade. The surface can recognize cellphones, digital cameras, special ID-coded digital dominoes and other physical objects. And it can respond to human touch. Kids can finger-paint digitally. Business travelers can dive into maps and surf the Web without a mouse or keyboard, by using simple touch gestures across the screen. In restaurant settings, you'll be able to order meals and play digital board games. At home, there may be no more fussing with the half-dozen remote controls sitting on your coffee table. That's because the table becomes the remote control. Read More...
  • Vista style Open/Save FileDialogs

    If you have tried creating FileDialogs in WPF, they usually do not blend well into the Vista look. The solution is to use the wrappers provided in the VistaBridge library which is part of the SDK samples. You could include the library dll (around 100k) in your project and then make the simple call to CommonOpenFileDialog/CommonSaveFileDialog ... The other option being to just include the specific classes in the project. CommonSaveFileDialog saveDialog = new CommonSaveFileDialog (); Its that easy!! Share this post Read More...
  • New WPF Community Site

    We now have a new community site for WPF - WWW.windowsclient.net It gels both the WPF and Windows forms communities and provides for a unified .NET/Windows client community. This effort consolidates the community knowledge - so more power to you guys out there :) Share this post Read More...
  • Updated WpfPerf.msi

    I got a couple of mail regarding the performance tools... The good news is that the Windows SDK which was released a week ago has the updated WPF perf tools. WPFperf.msi comes as part of the SDK. You would have to uninstall previous versions of the msi before installing the updated version. Read More...
  • Smalltalk sessions in a XBAP

    Xbaps are just multiplying by the day... Just came across this interesting xbap which runs VistaSmalltalk sessions. Its got a nice usage of popups. http://vistascript.net/vistascript/vsb/Vsb.xbap Share this post Read More...
  • BitmapSource-Bitmap interop

    Recently I was trying my hand at a rough image editing scenario and one of the things was changing into gray scale, brightness and so forth. If you have played with .NET 2.0 you get quite a few functions which help in these types of operations and it would be nice shifting Images to Bitmaps and vice versa. As luck would have it, Robert had posted some code on this in the forums. To get the Bitmap you would have to call CopyPixels on the BitmapSource and convert it to a Bitmap- transformedBitmapSource.CopyPixels(bits, stride, 0); unsafe { fixed ( byte * pBits = bits) { IntPtr ptr = new IntPtr (pBits); System.Drawing. Bitmap bitmap = new System.Drawing. Bitmap ( width,height,stride, System.Drawing.Imaging. PixelFormat .Format32bppPArgb,ptr); return bitmap; } } To do the reverse: System.Windows.Media.Imaging. BitmapSource bitmapSource = System.Windows.Interop. Imaging .CreateBitmapSourceFromHBitmap( bitmap.GetHbitmap(), IntPtr .Zero, Int32Rect .Empty, System.Windows.Media.Imaging. BitmapSizeOptions Read More...
  • Listening to DependencyProperty changes

    Dependency property is a pretty kewl concept. You got to agree on that J . One the nice features is the ability to listen to the changes in these properties and I tend to use it a lot. The SDK way would be to derive from the control, override the dependencyproperty metadata and specify the propertychangedCallback in the signature. Hmmm… pretty cumbersome you would say. public class MyTextBox : TextBox { public MyTextBox(): base () { } static MyTextBox() { FlowDirectionProperty.OverrideMetadata( typeof ( MyTextBox ), new FrameworkPropertyMetadata ( new PropertyChangedCallback (FlowDirectionPropertyChanged))); } private static void FlowDirectionPropertyChanged( DependencyObject sender, DependencyPropertyChangedEventArgs args) { (( MyTextBox )sender).FontWeight = ((( MyTextBox )sender).FlowDirection == FlowDirection .RightToLeft) ? FontWeights .Bold : FontWeights .Normal; } } But hey, things get easy, thanks to Ben . What you can do is use the DependencyPropertyDescriptor. DependencyPropertyDescriptor Read More...
  • NewsReader apps (built using NewsReader SDK)

    I hope you guys out there have tried out the New York Times NewsReader. It enriches the reading experience. It’s more immersive in the sense that you get the feel of reading a newspaper J . Now we expand this experience to more readers. We now have Seattle P-I, Daily Mail, and Forbes.com come out with their own readers. Check out the video below: Download links: Seattle Post-Intelligencer Reader Daily Mail eReader New York Times Reader Forbes.com Newsreader The exciting news is that we have been working on a toolkit which makes creating such readers a rather simple designing task. This toolkit is in private beta but will be released soon so that anybody could then provide a customized reader for their rss feeds. Share this post Read More...
  • Nice Movie viewer xbap

    Tim has been posting some kewl WPF apps that are being released to the public. To add to that collection, I came across this nice little xbap. http://sp.warnermycal.com/vista/contents/preview.xbap Share this post Read More...
  • Cool WPF app - Turning the Page 2.0

    Just came across this super cool WPF web app… Its called “turning the pages” and is developed in partnership between the British Library and Armadillo Systems . This is one helluva app. Play the video below. If that got you interested check out the app here . For more information go to their site . Read More...
More Posts Next page »

Copyright © 2006 Microsoft Corporation. All Rights Reserved. | Terms of Use | Privacy Statement | Contact Us