How To Change The Position Of Button At Runtime

How To Change The Position Of Button At Runtime


  • 10 Dec, 2011

    Assuming that you have set the button's ID as IDC_BTNSAMPLE in the resource editor :-CButton *pBtnSample = (CButton *)GetDlgItem(IDC_BTNSAMPLE);pBtnSample->SetWindowPos(0,0,0,100,100,SWP_FRAMECHANGED);

    Comments Received:
    Please give your suggestions and feedback:

2009-2016 downloadmela.com. All rights reserved.