on_scanmessage

This function is executed every time a message event is sent to the engine window, and can be used to assign an own message handler. The parameters are the same as for window messages.

Type

Event

Remarks:

Edition:

A7.06 LC

Example:

#include <acknex.h>
#include <windows.h> long ScanMessage(UINT message, WPARAM wParam, LPARAM lParam) { if (WM_SIZE == message) { printf("Resize attempt!"); return(1); } return(0); } ... function main() { on_scanmessage = ScanMessage; ... }

See also:

message functions

► latest version online