Lester's WPF\SL Blog


Simple, Easy & Beautiful


 

February, 2007

Blog - Post Feedback Form(CAPTCHA)
  • Lester's WPF\Silverlight Blog

    NewsReader apps (built using NewsReader SDK)

    • 12 Comments
    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...
  • Lester's WPF\Silverlight Blog

    Capturing Frame content

    • 3 Comments
    Some time back I got a question about capturing the contents of a frame and it seemed easy, but every time I tried capturing the frame i was getting a blank image. The trick here is that the frame loads the content asynchronously - the simplest thing to do is wait for some time :) ... The frame is an HwndHost that hosts an ActiveX control to load the web content. So the first thing to do is get hold of the HwndHost and then wait for a few seconds and you have it.. for ( Visual v = TheFrame; v != null ; v = VisualTreeHelper .GetChild(v, 0) as Visual ) { hwndHost = v as HwndHost ; if (hwndHost != null ) { break ; } } Now create a DispatcherTimer and wait till it triggers DispatcherTimer timer = new DispatcherTimer...
  • Lester's WPF\Silverlight Blog

    WPF/E 3D(like) photo app

    • 9 Comments
    Often times when I go through the WPF forums, I see people getting confused with WPF and WPF/E..... (don’t miss the ‘E’).. One of things that is on many of our minds is ‘why not xbap’. Chad summarizes the difference in his blog pretty well. “ WPF/E Applications · Are cross-platform ready (Mac OS X and Windows) · Do not require the client to have the .NET 3.0 runtime. Instead, WPF/E applications run within a browser plugin. · Do not support code-behind · Rely on JavaScript XBAPs · Require the client to have the .NET 3.0 runtime components installed. · Are not cross-platform enabled. They will only run on Windows machines. · Support code-behind · Must run within IE (or use the IETab plugin for Firefox)” I decided...
  • Lester's WPF\Silverlight Blog

    Nice Movie viewer xbap

    • 0 Comments
    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
  • Lester's WPF\Silverlight Blog

    Changing caret color in (Rich)TextBox

    • 0 Comments
    This sounds simple but its not so since we do not make it public. So what are the options we have here. hmmm... How about an hack J . The caret color is the inverse of the background color. So a very simple way is to set the background which then doesn’t get rendered. <Style TargetType="{x:Type TextBox}"> <Setter Property="KeyboardNavigation.TabNavigation" Value="None" /> <Setter Property="FocusVisualStyle" Value="{x:Null}" /> <Setter Property="AllowDrop" Value="true" /> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type TextBox}"> <Grid> <Border x:Name="Border” BorderThickness="2" SnapsToDevicePixels="True" Padding="2" CornerRadius="2"> <ScrollViewer Margin...
  • Lester's WPF\Silverlight Blog

    Localizing WPF apps

    • 1 Comments
    Localization does pose some difficulties even though I would like to believe the exact opposite :) ... So it was nice to read a post that is pretty comprehensive and makes it look easy. hmm... my belief is strengthened ;) brunzefb has posted this localization article on Codeproject and it is a must read for all who plan to/are creating a WPF app with the international audience in mind. Share this post
Page 1 of 1 (6 items)