How do you intercept the tips of someone's window?
There was a need to read the windows of someone else's window. It's a function.
SetWindowsHookExbut I can't figure out how to intercept an end message from the outside of the programme, given examples of search references, there's nothing to say.
Objective: There's an app A, after processing the event, the result comes as a message.
TE_COMPLETE♪ Annex B, we need to count and cross this final message and fulfil our function.
At least give me an example of how it works, like I'll handle it.
There's no such message in WinApi.
TE_COMPLETEit's probably some sort of annex A of the station, so you need to know the meaning of this constant.
Plus, to intercept messages, you need to take two steps:
I'll hang a hook with help.
SetWindowsHookExtype of event
WH_GETMESSAGEor other type, depending on message
TE_COMPLETETransmitted and processed in Annex A. And special attention should be given to the latter in the function.
SetWindowsHookEx- there's a need to be transferred.
IDThe current flow, if you do not process a dll. Use it.
When the fucker is in the processor, compare the value of the intercepted communication to its constant
TE_COMPLETEand, when matched, perform the necessary action.
That's the most amazing thing about the cocks. http://rsdn.ru/article/baseserv/winhooks.xml - after she's studying from crust to crust, you don't have to have any questions about the cocks.
Examples of the use of khuks are complete, and one of them is: https://github.com/freeonterminate/delphi/blob/afeecd08f4fcd3a2f1619dce3b9b1fea545f5a71/FMXForm/uFixFMXForm.pas - It's like a hook hanging around.
WH_CALLWNDPROCand process two events
WM_SHOWWINDOWwith some purpose.