From wiki.swiftlytilting.com
WinBinder Manual/wb send message
Sends a Windows message
int wb_send_message (int wbobject, int message, int wparam, int lparam)
- Sends a Windows message to the HWND handle of the WinBinder object wbobject.
- The parameters wparam and lparam, as well as the return value, depend on message.
- See SendMessage() in the Windows API documentation for more information.
- The following constant may be used as the wbobject parameter:
- 0xFFFF : This value is the equivalent of HWND_BROADCAST in the Windows API. HWND_BROADCAST allows the message to be sent to all top-level windows in the system. This includes invisible unowned windows, disabled windows, overlapped windows, and pop-up windows. Also the message then won't be sent to child windows.
Special warning about using the extra parameters of wb_send_message
This function provides access to the Windows API and should be used with great care. This function can easily generate a runtime exception or freeze the PHP application. Worse, if you are using Windows 98 or Me, it is not unlikely to crash the whole system when calling this function. For this reason Windows 98 or Windows Me are not recommended for developing WinBinder applications. Always be careful and double-check your source code before running it when using this function.
See also