Hello,
First of all i am not a Delphi programmer. I am writing a dll in C++ which communicates with a Delphi program. There is a form in Delphi and it has some buttons. I need to send a message to a specific button, so i need its window handle. GetDlgItem could give me the correct HWND but it cannot work, the Spy++ application shows that HWND is equal to Control ID for all controls in a Delphi application. Is it possible to overcome this difficulty?
Thank you
Andreas
First of all i am not a Delphi programmer. I am writing a dll in C++ which communicates with a Delphi program. There is a form in Delphi and it has some buttons. I need to send a message to a specific button, so i need its window handle. GetDlgItem could give me the correct HWND but it cannot work, the Spy++ application shows that HWND is equal to Control ID for all controls in a Delphi application. Is it possible to overcome this difficulty?
Thank you
Andreas