This is a Windows software, dialog form point determination and the upper right corner of the Red Cross will lead to the software error, only can right-click the title bar of the closed, API or consult with what what method can achieve the purpose, through the dialog box handle tested directly to Alt + F4 also complains, popups and software process for help ~ ~ thank you ~
CodePudding user response:
Add a _UnLoad EndCodePudding user response:
This is what?CodePudding user response:
Is not your own dialog box in the other programCodePudding user response:
Try using WINDOWS APICodePudding user response:
Send the Alt + spacebar to see, and then press cSendKeys "%
"SendKeys "c"
Of course the form must be a focus
CodePudding user response:
Considering the vb traditional method to set focus and is not very successful, I use my clsWindow framework, under the code as shown below for: