Dialog doesn't move

Jon Watte <[email protected]> Fri, 28 Apr 2006 00:16:37 -0700
Newsgroups gmane.games.devel.windows
Message-ID <[email protected]>
I'm creating a dialog using CreateDialog() and running it as a modeless 
dialog.

The documentation for IsDialogMessage() claims that a message should not 
be further processed (translate/dispatch) if IsDialogMessage() returns TRUE.

However, I have found that the dialog will lock up if you click in the 
title bar of it, unless you actually let some kinds of messages through 
to translate/dispatch even though IsDialogMessage() returns TRUE:

               case WM_NCLBUTTONDOWN:
               case WM_NCMOUSEMOVE:
               case WM_NCLBUTTONUP:
               case WM_LBUTTONUP:
               case WM_MOUSEMOVE:

This doesn't appear to be documented behavior, but seems to work OK. 
Does anyone know if this is the appropriate thing to do? Are there other 
messages I should let through to translate/dispatch as well?

(My dialog proc returns FALSE for pretty much everything except 
WM_COMMAND, WM_INITDIALOG and WM_DESTROY).

Cheers,

			/ h+


-------------------------------------------------------
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