Keyboard input and TAB navigation between WPF controls in a Win32 application

It is possible to host WPF controls in a Win32 application, and the other way around, but because of the differences betweeb these technologies there are various issues that can appear. One of these is handling of keyboard input. Without diving too much into differences between WPF and Win32, I will show how to provide … Read more

Alchemy 2.0

Alchemy 2.0 brings a modified layout, a set of 44 new elements (to a total of 444), hints, and translation to Hebrew. The most reported bug for Alchemy so far has been the layout mess on small resolution systems, such as netbooks. It wasn’t a bug actually, but a feature. The application required a higher … Read more

Alchemy 1.7 Update: 20 New Elements and New Features

Alchemy 1.7 brings a set of 20 new elements (tot a total of 400), allows you to display a timer with the total elapsed play time and is available in French. The 20 new elements are: Alcoholic Mirror Ashtray Peat Ball Rubber Caramel Samurai Clock ScotchWhiskey Firefighter Scotland Firefly Sugar Football SugarCane Juice SwissArmyKnife LightningRod … Read more

Alchemy 1.5 Update: 30 New Elements and New Features

Alchemy 1.5 brings a set of new elements (focused on countries), a reorganization of parts of the user interface, translation to new languages and some new features requested by the users. New elements 30 new elements have been added in version 1.5. Most of them are countries. The list of new elements is: Antarctica Germany … Read more

Alchemy Update: 50 New Elements

Alchemy 1.1 is the first update of Alchemy. It features 50 new cool elements and fixes a problem with the three elements (Bread, Hourglass and Snow) that were marked as terminals though they were required for making other elements. Combinations and elements are now verified formally so that they can all be resolved. The list … Read more

Alchemy for Windows

I have played recently a great game on Android, called Alchemy, created by Andrey Zaikin. You start with four basic elements, Fire, Water, Air and Earth and you can combine them to get more and more elements. The game was so catching that after finishing it I decided to write my own version for Windows. … Read more

Reference a XAML From Another Project

When you create a WPF application, the start-up window is by default one from the same project (by default called Window1.xaml). < Application x:Class=”WpfApplication1.App” xmlns=”http://schemas.microsoft.com/winfx/2006/xaml/presentation” xmlns:x=”http://schemas.microsoft.com/winfx/2006/xaml” StartupUri=”Window1.xaml” > < Application.Resources > < /Application.Resources > < /Application > But what if you want to use a window from another project (class library)? The pack URI scheme, … Read more