DCSIMG
Tips and Tricks,WPF crossbow,source - Just code - Tamir Khason

Browse by Tags

All Tags » Tips and Tricks » WPF crossbow » source (RSS)
Please update your bookmarks, because the new url of this blog is http://khason.net/ (you have not update RSS feeds, it will be done automatically). Why I did it? Why I decided to go to “stand-alone”… Well. there are some reasons. Generally, I do not want to explain all those here, but trust me, there are some. The main reason is, that there is no responsible person in charge for this blog platform in Microsoft Israel. This why, if your blog is popular and you have a respect to your blog visitors...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/read-and-use-fm-radio-or-any-other-usb-hid-device-from-c/ ] Last time we spoke about reading and decoding RDS information from FM receivers . Also we already know how to stream sound from DirectSound compatible devices . However, before we can do it, we should be able to “speak” with such devices. So, today we’ll spoke about detection and reading information from Radio USB adapters (actually...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/using-vista-preview-handlers-in-wpf-application/ ] First of all what is Preview Handler? Preview Handler is COM object, that called when you want to display the preview of your item. Other words, Preview Handlers are lightweight, rich and read-only previews of file’s content in a reading pane. You can find preview handlers in Microsoft Outlook 2007, Windows Vista and, even sometimes...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/to-ole-from-ole-color-translator-in-wpf/ ] In GDI+ (Winforms) world, there was very handy class inside System.Drawing. It named ColorTranslator and it used to translate from OLE integer color value into GDI+ Color and vice verse. In WPF there is no such class, so if you’re working with old COM/COM+ application you have either reference System.Drawing.dll or write those two methods...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/z-order-hack-for-winforms-interop-controls-in-wpf/ ] If you ever tried to put something from WPF world over Windows Forms controls (interop), you, probably, found it impossible. After it, while searching internet, you found AirSpace article , that clearly describes the reasons and rules. Digging more will bring you to the blog of Jeremiah Morrill , who fighting with AirSpace issue about...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/transparent-wpf-control-over-unmanaged-window-handle/ ] All those, how even once tried to put opaque or transparent WPF control over Windows Forms control or, even unmanaged window found themselves within " Airspace problem ". So, what to do? How can we use transparent WPF UI over our legacy windows? This how. See the image above. As you can see, there is tarsparent XAML page...