I'm sorry > To do that I use InheritCursor, this solution works when I use embedded window which > not receive WM_NCHITTEST message. Window receive this message, but it have not borders and cursor not changes instead not embedded window. Mikhail.