I trying to change the edit box (filepath) of the "Save As.." Dialog of the Internet Explorer, on run time.
The problem is when using the method:
GetDlgItem(hwnd, 0x0470)
The file path control in Windows XP is'0x047' and in Windows 98 is '0x480'.
I found this in the web, for XP and 98 is working just fine, the problem is in Windows Vista.
In Windows Vista the method returns NULL, I guessing the control id is not the same, How I know what is the control id in Vista?
I read that using spy++, I can check the Id of controls, I noticed something wrong, when I use spy++ in windows xp and I select the control of the file path control the id is not '0x0470', it always return diferent Id (every time I open the dialog), how is this possible?
I'm missing something here?
Thanks in advanced