CButton* btnApply = new CButton; CRect recto; GetClientRect(&recto); ScreenToClient(&recto); btnApply->Create((LPCTSTR)"Apply", WS_CHILD | WS_VISIBLE, recto,this, 1234); btnApply->ShowWindow(SW_SHOW);
ScreenToClient
GetClientRect
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)