Hi
I am facing problem with ZOreder of toolBar i have mainwindow , ToolBar, ChildWindow, and i have created toolbar using createToolBarEx ,

My problem is that , when i move child window towards titlebar it overlapps my toolBar but not Menu, I am not getting the point where i am wrong where both winndow child, toolbar , have same parent.

again how 0,0 coordinate of client area goes on toolBar why it is so.

I am using Win32 API not Mfc.
Thanks!
Anant