WM_NCLBUTTONUP Message

WM_NCLBUTTONUP Message

I would like toprocess the WM_NCLBUTTONUP message when the left mouse button is relesed in the title bar of a dlg box. I can capture the WM_NCLBUTTONDOWN, but for some reason no WM_NCLBUTTONUP message arrives in the Dialog Box Proc.

case (WM_NCLBUTTONDOWN) ! works OK
DlgProc =0
return

case(WM_NCLBUTTONUP) ! does not arrive???
DlgProc =0
return

I tried capturing the WM_NCLBUTTONUP for the main window of the program, and was successful when the window was maximized, but when the window was reduced in size I could not capture the WM_NCLBUTTONUP. Thanks for any help!

Message Edited by halcyong@fcc.net on 12-31-2004 01:11 PM

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.