Re: which handle returned?
Maybe the first one; that is, the control which comes first in the tab
You don't know the lookup algorithm that GetDlgItem uses, and there's no
mention in the documentation as to what happens with duplicated IDs, so you
can't rely on what it will do in this case.
Tim Robinson (MVP, Windows SDK)
"brigham white" <firstname.lastname@example.org> wrote in message
> Hypothetical, if I had two child controls in a dialog box with the same[/color]
> and I called GetDlgItem() with the ID, which handle would be returned?