I have a form, and want to programmatically alter the help text that displays at the top of the page. Is there a hook available to do this?
EDIT: by "help text", I mean the text entered into the CCK form at: admin/content/node-type/sample-form
Above the textbox, it is labeled:
Explanation or submission guidelines:
The textarea h...
Hello. I am using Nektra's Deviare to hook winsock's send method calls. My ideia is to learn to also send messages through the same socket than the original application. So what I'm doing is when i detect the first call to send message, I save the socket id(the first argument of the send function), so I can use it later.
So here is my c...
I want to build a software test automation software and I'm playing around with Windows Hooks for that.
So I built the following C code. Can anyone tell me how to correct it ?
#include "windows.h"
// the call back function
LRESULT CALLBACK JournalRecordProc(int code, WPARAM wParam, LPARAM lParam)
{
HHOOK hhk = 0;
if (code > ...
I´m a currently running a global hook that watches for a certain window and then closes it with PostMessage(hWnd,WM_CLOSE,0,0);
The DLL containing the hook:
LRESULT CALLBACK MyFunc(int code, WPARAM wParam, LPARAM lParam)
{
switch(code)
{
case HCBT_CREATEWND:
{
HWND hWnd = (HWND)wParam;
//GetWin...
I am having trouble getting a global system hook to work. I want to be notified whenever a window is moving, as early as possible, and change the window size. This means the CBT hook HCBT_MOVESIZE won't cut it, it only happens after the window has been moved. I want to hook the actual movement of the window, and be able to change the win...
For some reason, the "Create content" menu item was displaying for Anon, even though there was nothing in that tree or at that path. (Anon can only create a certain type of content, but that has been moved to its own top-level navigation item.)
To solve this, I used hook_menu_alter():
/**
* Remove "create content" from the menu if the...
Hi
Could anyone recommend a good wordpress plugin that simply allows me or any user with a certain roll/capability to access an email page.
Here they can select a role to send emails to, write the subject and content of the email. Also it would be great to have some hooks such as:
%firstname%
%lastname&
I have looked at WP-Email and...
Hi, I'm writing an ejabberd module. What it does is saving some messages into a queue. It actually works very good, there is only one thing I can't find in any documentation. I need to stop hook processing if I find a message coming from a particular user.
I.e. a message is sent to ejabberd, from user A to user B, my module (hooked to u...
Is there a way to force the client to update its local svn configuration using a hook?
I have lin and win clients and I'd like to push down a standard set of ignores and auto props. Today, I provide a config files and ask the users to install them (.reg file for win and conf file for linux). I'd like to flush them down to the clients ...
in wordpress you can do the following:
http://example.com/tag/jazz,blues/ (returns tags page with posts tagged with jazz OR blues)
http://example.com/tag/jazz+blues/ (returns tags page with posts tagged with jazz AND blues)
I want to be able to do the same thing with other taxonomies other than the "tag" taxonomy.
I've created a "mus...
As far as I could see, there is no built-in feature to manage SVN hooks in SVN itself. There are some ideas of course, such as another repository with hooks scripts, running an svn export to the hooks directory on commit, but how would you do it?
...
Is there a way to intercept window messages from another app other than a global message hook? Platform: Windows XP.
...
Hi,
I need to notify my application in some way whenever any file in the given directory has been changed (its content has been modified) ... is there any JCL/JVCL routine for that?
Thanks in advance ...
...
On linux / ubuntu, the keyboard and mouse devices are found
in /dev/input/by-path/
Where is the keyboard device mounted in osx?
I added a usb keyboard, and no devices got added in /dev folder.
Is it located somewhere else, or is it totally unaccessible?
Thanks.
Edit:
I was able to get some info on the keyboard using libusb:
046d:c...
One of our largest old VB6 apps has some code in it to allow other apps (including some dotNET ones) to pass an ID to it via a Windows message - this ID is then used by the VB6 app to load an entry in a regular Windows form. The message hook is added after the user is logged in and authenticated, and removed once they logout.
Public Sub...
I'm writing a tool for validation engineers to log session interaction when attempting to reproduce failure. It creates a video of the desktop, and I'm hooking the keyboard and mouse in C#, to record their interaction with the OS.
The events are serialized out to a file to be read in at a later time.
I use SendInput to replay the mouse ...
We have a staging version of our web application (it is basically a subversion working copy that no-one works on) that lives in '/apps/software'. Each developer has their own working copy in '~/apps/software'. I would like to utilise a simple post-commit hook script to update the staging copy every time a developer commits a change to th...
I wrote a program who paints widget on desktop wallpaper, under desktop icons, and all was good.
But I reveal a strange bug - my program was not works on some other computers - they displays
the same desktop without widget after start.
So, have anybody any expirience, some knowledge in this area? Please, help me! :)
(I can't find any ...
Some weird error cropped up suddenly outta nowhere and is preventing me from checking in my code via TortoiseSVN. I'm using a free account on myversioncontrol.com
This is on a Windows Vista system. It was working fine till earlier in the day. Any clue how to get things back to normal?
The Tortoise window shows this
Command: Commit
Modi...
Hi i am new to hooking..i am using wm_getmessage hook to know which menu item
is clicked.
i am using the follwing code to get identifier of the menu
WORD identifier=LOWORD(pMsg->wParam);
it is giving integer value..up to now is fine...
my problem is how to know which menu item is clicked by using this
identifier? is it possible by th...