CodePudding user response:
The best way is, of course, shielding the prompt box code in the source code, other methods, either with the tools of a small or write a program to get you a handle to the interface program, send it to the enter key, such as manual to point out prompt box (simulation)CodePudding user response:
Is your own code, modify the code, join the parameter controls whether to play boxIf the code is not your own (or each other without playing box option), that can only adopt hack approach, using a background process monitoring bounced, win32api lookup handle, then send the form close the message (or the enter key messages sent to himself one click)