Home > Software engineering >  VB6 dialog title in the right-click menu closed method
VB6 dialog title in the right-click menu closed method

Time:09-24


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 End

CodePudding user response:

This is what?

CodePudding user response:

Is not your own dialog box in the other program

CodePudding user response:

Try using WINDOWS API

CodePudding user response:

Send the Alt + spacebar to see, and then press c
 SendKeys "% 
"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:
  •  Tags:  
  • API
  • Related