when tried set static control position @ 0, 0 , size same window's size worked fine. control placed same window, when tried make control smaller , place there's equal amount of space on every side of control didn't work. @ top there more space @ bottom , on left side ther more space on right side. please tell me how wanted do? code using: 1: ghstatic = createwindowexw(ws_ex_clientedge, l"static", l"foo", ws_child | ws_visible | ss_center, 0, 0, 300, 300, hwnd, nullptr, hinstance, nullptr); 2: ghstatic = createwindowexw(ws_ex_clientedge, l"static", l"foo", ws_child | ws_visible | ss_center, 75, 75, 150, 150, hwnd, nullptr, hinstance, nullptr); are using createwindowexw function change size of hwnd? cannot use function change hwnd size, used create controls, because trying recreate created. try use movewindow function change position , size of hwnd: movewindow(yourhwnd, x, y, w, h, true); movewindow(ghstatic, 75, 75, ...