Questions tagged [event-hooking]
27 questions
1
vote
2 answers
how to detect event handler and released it?
Suppose I have a class say a viewmode class mvvm. Then there are some event handlers created for this vm. then it could be used by many others with different situation.
So if I have an instance of myvm, I want to detect if there is any event handler…

KentZhou
- 24,805
- 41
- 134
- 200
0
votes
1 answer
Drupal user authentication check
I have been trying to write a function to check if user is authenticated and then call a google analytics script for custom report. This has been a big hassle and I believe Drupal is not that difficult. Is there anyone who can help or take up the…

AYC
- 11
- 2
0
votes
1 answer
How to run official SetWinEventHook example code on Windows platform?
I want to try and run the official SetWinEventHook() example given at https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setwineventhook:
// Global variable.
HWINEVENTHOOK g_hook;
// Initializes COM and sets up the event…

Alok
- 7,734
- 8
- 55
- 100
0
votes
0 answers
Loading C++ Dll into vb.net application
I am new to programming and I am still learning so I might no be using the correct terminology for all the following questions.
I wrote a customization code for a third party application complied it as a dll and configured the application to load…

Watthehell86
- 1
- 1
0
votes
0 answers
I want to close the window when the alert window appears
I am making an automation program, but after the alert message is issued in a certain section, the program does not proceed anymore. After pressing the alert message, the program will resume. Is there any way to recognize the alert message window?
I…

박현서
- 13
- 5
0
votes
5 answers
How to use C# client to get information of clicked GUI element in another app?
Can a C# client record all keyboard and mouse events using hooks and collect information on the clicked GUI element?
Which libary would you use?
Is Spy++ an option or would one need a C++ DLL for that?

Cilvic
- 3,417
- 2
- 33
- 57
0
votes
1 answer
globalKeyboardHook returns unexpected chars C#, VS2013 Win7
I use globalKeyboardHook to detect certain keyboard keys.
The keyboard is a standard English Microsoft 101 keys.
For multiple languages, I need all the alphabet (no numerical) and the punctuation (period comma [ ] + = _ - ' ; and some similar.
I do…

samtal
- 131
- 2
- 12
0
votes
1 answer
How to use meteor Event Hooks
I want to display users which are currently online and have a focus on a special page. Somewhere on this page I like to display the list of users and there status (on/offline focus/no focus)
I found this package: benjaminrh/event-hooks
The setup is…

Michael Hoeller
- 22,018
- 10
- 39
- 66
0
votes
0 answers
how to hook a process before its execution using vb.net?
Could anybody tell me how to hook a process before or just at its execution. I want to get all the information of process before starting and check if it is authorized by user or not.

Art and Artistic artandartisti
- 345
- 2
- 3
- 11
0
votes
1 answer
OSX global mouse/trackpad hooking
I am not familiar with Apple's OSX
What I want to do is to set a global(system-wide) hook for 4 fingers scrolling (mouse and trackpad) and to be able
to change the scrolling events (to make it more iOS like) because system preferences does't cover…

Coldsteel48
- 3,482
- 4
- 26
- 43
0
votes
1 answer
LinkButton Click event not firing after programatic hookup
I am creating linkbuttons inside of a panel and hooking up an event handler to the Click event. It isn't firing. This is my code. Is this lost on postback?
foreach (var item in clients)
{
var codeLb = new…

Mark Williams
- 583
- 7
- 18
-1
votes
1 answer
Message box hooking in c problems
Hello ive started to use hooking in c and i wanted to make a program that does a message box
hook,and im new to hooking but after a lot of reading ive understood enough to make a program that creates a window and does a hook, but my problem is that…

david1597
- 39
- 1
- 4