Re: [GD-Windows] Dialog doesn't move
Brought to you by:
vexxed72
From: Martin S. <ms...@he...> - 2006-04-29 06:04:29
|
> Now, there is a little bit more to the story. I'm calling IsDialogEvent > from inside a GetMessage WindowsHook, and if it (IsDialogEvent) returns > true, I change the message to WM_NULL/0/0. The reason is that I'm > actually hosted as a DLL inside another application. I've already > recovered my HMODULE, the HMODULE of the host, and the HWND of the main > window, so that's all good. I also know the thread is the same, because > I only hook GetCurrentThreadId() in the SetWindowsHookEx() call. If your in a window hook don't you want to let the original window handler get a look in with something like return CallWindowProc(m_oldWindowProc, hwnd, message, wParam, lParam); not sure if this applies to your situation or not but may help;) cheers Martin -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.5.1/327 - Release Date: 28/04/2006 |