![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | How to move Window by Drag Child Win32 Window In WPF hello,everybody. In a WPF window( parent ), the client area is a win32 window(child) by use HWndHost. now the WPF window has no caption and want to move the window by drag the child win32 window. I can't simply use DragMove when receive win32 Window's mousedown message, the system throw exception for mouse is not down. Now what can I do? can i simulate the mouse down in wpf window? thanks for any help. |
| | #2 (permalink) |
| Guest | Re: How to move Window by Drag Child Win32 Window In WPF To handle mouse input for the HwndHost, use hwnd-based APIs like wm_mousemove. -- -Nick Kramer [MSFT] http://blogs.msdn.com/nickkramer This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm "How to Draw Caption Button In WPF" <HowtoDrawCaptionButtonInWPF@discussions.microsoft.com> wrote in message news:BB529F7A-FCBF-4242-854F-0528A134E285@microsoft.com... > hello,everybody. > In a WPF window( parent ), the client area is a win32 window(child) by use > HWndHost. now the WPF window has no caption and want to move the window > by > drag the child win32 window. I can't simply use DragMove when receive > win32 > Window's mousedown message, the system throw exception for mouse is not > down. > Now what can I do? can i simulate the mouse down in wpf window? > thanks for any help. > > |
| |
| |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| getting handle of child window with input focus | Bob | Vista General | 1 | 3 Weeks Ago 05:38 PM |
| Drag and drop in CMD window? | =?Utf-8?B?U0FNaW5PWg==?= | Vista General | 9 | 02-17-2008 03:24 PM |
| WPF Child Window Question | Mikep | Avalon | 0 | 08-20-2007 11:34 PM |
| Can't Drag & Drop onto CMD window? | Gerry Hickman | Vista security | 7 | 05-26-2007 08:22 PM |
| Host App in WPF child window | wackyphill@yahoo.com | Avalon | 0 | 11-27-2006 07:20 AM |