Custom titlebar

Visual Studio251
Hi,

Iam handling WM_NCPAINT, WM_NCACTIVATE, WM_SETTEXT... messages to draw my

own title bar. I have a menu which I want I be drawn and handled by windows

as it was, when the window title is normal. The problem I face is I dont see

the menu with the new custom title bar. When I increase the non-client area

height in OnNcCalcSize, I see the menu, but moving the mouse on top of the

menu seems to do nothing on the menu. Any idea, how to make windows do the

default thing ?



Thanks,

-Venkat


-