I want to put the dialog content, such as "are you sure?", "whether to continue operating the content such as" extracted, if the user's operation can be if you click ok, cancel, etc were extracted, using DELPHI programming should be how to operate?
Trouble you give a train of thought
CodePudding user response:
Access control and handle, get text messaging WM_GETTEXT, hook function to take action,CodePudding user response:
Method 1 with thread to monitor window handle and enumeration, this is not too accurate, and the consumption of resources, method 2 with hook the pop-up dialog will inform the main programCodePudding user response:
http://www.cnblogs.com/linyawen/archive/2011/03/25/1995624.html