|
-
September 2nd, 2010, 04:57 AM
#1
HTCLOSE or HTSYSMENU
In following MSDN documentation
http://msdn.microsoft.com/en-us/libr...18(VS.85).aspx
for WM_NCHITTEST message It is stated like this :
The return value of the DefWindowProc function is one of the following values, indicating the position of the cursor hot spot.
.....
.....
HTCLOSE - 20 - In a Close button.
.....
HTSYSMENU - 3 - In a window menu or in a Close button in a child window.
.....
But i could not see HTSYSMENU being returned for a "Close button in a child window".
Tried different scenarios like SDI/MDI , dialog with a child dialog etc .
Can anybody explain a scenario for HTSYSMENU being returned for a "Close button in a child window".
Thanks
Vijesh Vijay
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|