get all control ID's

hello.
is there an opportunity to get the ID's of all controls in a MFC-window?
i want to move the controls to new positions when the window is resized, so that it appears always the same way.
for that i want to get listet all ID's because i want do that automatically and not per hand.
thanks. henry.

Comments

  • : hello.
    : is there an opportunity to get the ID's of all controls in a MFC-window?
    : i want to move the controls to new positions when the window is resized, so that it appears always the same way.
    : for that i want to get listet all ID's because i want do that automatically and not per hand.
    : thanks. henry.
    :

    see CWnd::GetNextDlgTabItem() in MSDN. You can iterate all the controls with that function.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion