Re: Dialog doesn't move

Martin Slater <[email protected]> Sat, 29 Apr 2006 16:04:30 +1000
Newsgroups gmane.games.devel.windows
Message-ID <[email protected]>
> 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



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Gamedevlists-windows mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows
Archives:
http://sourceforge.net/mailarchive/forum.php?forum_id=555