Click here to Skip to main content
15,879,326 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am working on a c++/mfc application. By using c++ I am able to create dynamic button on any running process.
Now my requirement is to get that button click event. As that button is on different process so I don't know how to handle its click event.
Any help or suggestion will be appreciated.
Posted
Comments
Richard MacCutchan 29-Apr-15 8:55am    
I don't think you can, since you have no idea where in the other process's code the event is.
Member 10641779 30-Apr-15 0:32am    
There should have some way. As button is created by my application on different process. so there will be some way to handle its click event.
Richard MacCutchan 30-Apr-15 4:02am    
I am not sure that I understand what you mean by "button is created by my application on different process". Is this process just another thread in your application, or some external application?
Member 10641779 1-May-15 3:55am    
No its not another thread, its external running process. for example notepad, chrome, firefox etc. I am able to create button on that process but not able to get button click.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900