Hello,

I need to hook a dialog in Windows Vista. I am doing it successfully in Windows XP by getting handle and a control id of particular control. I am using SendDlgItemMessage API for the same.

In Windows Vista this doesnt work like XP. When I checked the dialog properties using SPY++, I found that the handle to the dialog is correct but the control id was 0x0000.

Is there any way I can get the control id for the dialog in Vista.

Thanks in advance.