1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Changing Control Position Runtime

Discussion in 'MFC' started by ABM, Jun 25, 2010.

  1. ABM

    ABM New Member

    Joined:
    Jun 25, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Hi
    I am novice in VC++. I am creating an application in which i have remove checkboxes at runtime. The problem all the checkboxes are top of each other. Like checkbox1 is above checkbox2 and checkbox2 is above checkbox3 and so on.. When i remove the checkbox1, i want to put checkbox2 in checkbox1 position and checkbox3 to checkbox2 position. Means every other checkboxes goes one step up. I tried GetWindowRect but it is not working properly. Can someone suggest how i can do this?

    Regards
    ABM
     

Share This Page