Original Post
Hello I have Windows main form and I am trying to set child window for it, with SetParent. The child window is produced by dll from third party application that my application is calling. I am doing the following : long style = GetWindowLong(hwnd, GWL_style); style &=~WS_CAPTION; style &= ~WS_OVERLAPPED; style|=WS_CHILD; SetWindowLong(hwnd, GWL_style, style); SetParent(hwnd,hwndMain); and the window is set into the main form , but it does not work right i.e the following is happening: When I minimize the main form and maximize again the quick menu bar which consists of several buttons and the menu bar are not refreshed. What could be the reason? Thanks [Edited by - elih1 on January 2, 2009 1:21:28 PM]