Wpftoolkit dragging messagebox control with flowdirection="righttoleft" issue - wpf

I need a styled messagebox with right to left text direction for wpf application
I am using wpftoolkit 4.1 messagebox control by xceed.
Setting fllowdirection="RightToLeft" works fine for setting the text direction but dragging the window is a big problem, the window is being dragged quickly to the other side and disappears so only killing the process works from that point
any ideas?

Related

Metro style Flyout Window using WPF

I'm fairly new to WPF and looking to recreate the 'flyout' effect similar to the Wunderlist Windows app where clicking on a button (or whatever) in the main window slides a panel in from the side with the requested detail.
Any pointers in the right direction would be much appreciated!

WPF host Win32 window frozen because of multiple WM_NCHITTEST when moving mouse over the bottom right corner

I have a WPF window that hosts Win32 window, I have class inherited from HwndHost.
Everything seems to work fine except when I move the mouse over the bottom right corner of the WPF window, the window freezes.
I used Spy++ to see what is going on. It turns out that the WPF Window receives few WM_WINDOWPOSCHANGING messages every 2-3 seconds and the Win32 Window keeps receiving a lot of WM_NCHITTEST all the time.
How can I resolve this problem? Thank you.
I found the solution by setting the size of Win32 window to be 1 pixel (both width and height) smaller than the WPF Host Window, the issue is gone.
I think it's because both Win32 and WPF windows were sharing the same non-client area and the messages got looping.

Visual studio addin - window children can't get focus

I have some addin for VS2010 which displays window with some many panels. I'm using Avalon docking manager to handle all panels manipulation.
My problem is that all items (listboxs or items control) within the my window can't get focus, even when I'm clicking on them directly. this problem is expressed when i'm trying to use mouse wheel in order to scroll the scrollViews in my window.
Just want to mention that when I'm using my window in a stand alone application (not as VS2010 addin) everything works.
Any idea? Is this Avalon problem?
It's seems to be bug of Avalon.
Updating to latest version fix the problem.

WPF modeless dialog renders textbox uneditable

A WPF form that I launch from a WinForms window shows up with all textboxes as uneditable when it's launched as a modeless dialog. It works well when it's a modal window. I'm still able to type spaces or paste text. But regular typing doesn't work. I'm using 3.5 with SP1. Would anybody know how to resolve this?
You need to make sure to call ElementHost.EnableModelessKeyboardInterop for your WPF Window. This hooks up the WPF message loop to allow keyboard input.

WPF tooltip displayed on top of other window?

Sometimes (I didn't figure the exact scenario), WPF tooltips are displayed on top of other windows, even when the app window is completely hidden. Clicking on the other window doesn't make it disappear.
Is anyone familiar with this?
Regards,
Yaakov
I've seen this as well.
If you have a wpf tooltip open, and you Alt-Tab to another application, the wpf tooltip stays visible, even though the wpf application itself is not.
You could programmatically close the tooltip when your wpf app is no longer active.

Resources