I want to know how to hook message from other computer....
For example :
somebody use "net.exe" to send me a short message, so i want to hook this message ....
goto run command : net send * text here
Hai i need a help
Both WIndows 9x/ME and NT /2000
I need to hook the printer port i.e. if any application tries to print any job i should catch it and with validation job should enter for printing
Kindly help me
I want to hook a Menu Click when the user clicks on a particular Menu Item. The problem with a WM_MENUSELECT hook is that it traps all events when the user "browses" over a particular menu item (the moment when the text of the Status Bar in a standard Windows application changes to reflect the menu item in focus. Like, you take the cursor over File > New and the Status bar says "Opens a new Document").
I want to trap the events when the user clicks or otherwises "chooses" a menu item (mapped using ON_COMMAND). In the hook I want the option to discard the Menu Item Click if I want to.
I tried using the WM_CALLWNDPROC hook which traps the WM_COMMAND message but the documentation in MSDN (Win32 Hooks by Kyle Marsh) says that we shouldn't (and cannot) modify the messages using this hook. Plus this hook is also a drain on the system as it traps most Windows messages.
As for the details - I am using this hook in an ActiveX control and this hook will be used only on a particular thread (So I don't need a system hook) - if that helps.
Can someone help me tackle this Menu Click beast?
Any help will be appreciated.
Best Regards and thanx in advance,
I am using C++ Builder to create system wide Keyboard hooks
using the SetWindowsHookEx() command but the ncode parameter of the CALLBACK function does not receive any values.It's value is always equal to 0.
How can I hook an Interrupt systemwide? Whenever I hook an
Interrupt, it is limited to that program only. Is there any
way for hooking an Interrupt so that once it is hooked, all
programs should follow the new Interrupt Service Routine?
Please halp me in this.