Home > Software engineering >  Could you tell me how to use API to disable the window?
Could you tell me how to use API to disable the window?

Time:09-28

I had a program written in MSFLEXGRID mimic the effects of EXCEL, function basically achieved now.
But the TAB to the next window will issue "when".
I checked directly modify your API is jump to mute button to open the sound, the effect is achieved.
But if there are other programs to MP3, there will be a point card.
If you can disable the voice of my this window directly.
Could you tell me how to use API disabled a window that noise? I had a transition to a point about data but not used.

CodePudding user response:

Don't quite understand what you say the word "TAB to jump to the next window" is a what kind of effect,
But to implement the "jump" process, should it be used to your own code completion processing!
If so, then you should be in a control (or form) KeyDown ()/KeyUp ()/KeyPress () event handling, right?
This kind of circumstance, you as long as the event process parameters in the entrance KeyCode/KeyAscii assignment to 0, just done,

CodePudding user response:

Can use the HOOK to play the sound of the API function to jump, there is no sound, or to detect events TAB, find points TAB to mute, restore again after 1 second,

CodePudding user response:

refer to the second floor xiaoyao961 response:
HOOK can be used to play the sound of the API function to jump, there is no sound, or to detect events TAB, find the TAB is silent first, again after 1 second,

"Mute" is a system level, let alone a second, even if it is 0.1 seconds, the voice of the other processes play will break off,
What do you think of this process?
Programming does not consider "user experience" that details!!!!!!
  • Related