Click to See Complete Forum and Search --> : Getting Window Handle based on ID


Quell
November 20th, 2007, 04:29 PM
Hey.
How can i retrieve the ID of a control on a dialog box based on it's handle?
Thx in advance.

Martin O
November 20th, 2007, 04:51 PM
GetDlgCtrlID or GetDlgItem
Your title says 'how to get handle', but the post says 'how to get id'. Anyway, those are the functions.

Quell
November 21st, 2007, 05:09 PM
I knew there was something like that, but i couldn't remember the name for the Id (fact that it is obvious must have escaped me :D)
A/w thx alot