When your WPF menu alignment is wrong

I had a very weird problem where my menus on a WPF application were dropping down to the left instead of the normal to the right.

It turns out it is due to having a tablet setting set to right handed … even though I don’t have a tablet. The answer was found on the link at the bottom of this post.

To fix it:

Press the Windows key + R and then copy/paste the following line of text.

shell:::{80F3F1D5-FECA-45F3-BC32-752C152E456E}

Press OK.

In the Tablet PC Settings configuration dialog select the “Other” Tab. In the Handedness section, place a check mark in the Left Handed option.

Click OK.

Fixed.

Links

How can I get WPF menus to align like the old win forms menu?

Random Posts

Armada by Ernest Cline

Took me a little while to get into this book. It starts out in a school where a pupil spots a spaceship from his favourite video game. This then moves on to it being a precursor to an invasion by the aliens from the video game and the game itself was actually put together as training so the players could pilot drones in the war. A slightly surreal concept but pretty well executed. The “twist” with the main characters dad is a bit contrived but overall not a bad read - enjoyed it more as it went along. Not as good as Ready Player One.


Read More

Advice, warnings and genetic algorithms

In the Knowledge Project podcast with Adam Robinson there is an interesting observation about warnings.


Read More

How I learnt about not compromising

I have just finished re-reading the book The Spark, a fictional account of a sports agent and his journey to learn about Cirque de Soleil from the inside.


Read More