Matrix1 Utility Plug-ins

SET MESSAGE CALLBACK


Syntax

SET MESSAGE CALLBACK FunctionPointer
SET MESSAGE CALLBACK FunctionName

Description

This function will be called whenever a standard windows message is sent to the DBPro window.

The function should have the standard 4 parameters required by a WndProc routine (Window handle, Message, wParam and lParam), and should return an integer or dword result.
The returned value will be ignored UNLESS you have called the STOP CURRENT MESSAGE, in which case the value will be returned to the windows message loop.
If you have not call the STOP CURRENT MESSAGE command, then the message will be forwarded on to the standard DBPro message handler, and the return value of that call will be returned to the windows message loop.

Your function should look like this:
FUNCTION YourFunctionName(hwnd as dword, msg as dword, wparam as dword, lparam as dword)
ENDFUNCTION result

A FunctionPointer value of 0 or a FunctionName of "" will cause the callback to be disabled.

Go back to ...

Matrix1Util_26 Commands Menu
Matrix1 Utils Main Index
Matrix1 Utils Command List
Commands Menu
Main Menu

Copyright © Ian Mold - Matrix1 Software 2006 - 2011