This class provides a way for an application to receive Windows messages and handle them as it wishes. CK_WndProc is a mixin class. Application classes can become a CK_WndProc by inheriting this class and implementing the wndProc() member function.
The application can gain access to Windows messages by registering a CK_WndProc object with the Chilkat engine (CK_ddEngine). It does this by calling the engine's setWndProc() member function. For each Windows message received, the engine will call the application's wndProc() before handling the message itself.
Called for each Windows message received by the application.
Return Value
Returning non-zero will allow the Chilkat engine to process the Windows message. Returning 0 will prevent the Chilkat engine from receiving the Windows message.
Parameters
The parameters to this function are identical to those of a Windows application's WindowProc.
- hWnd
- Identifies the window.
- message
- Specifies the message.
- wParam
- Specifies additional message information. The contents depend on the message parameter.
- lParam
- Specifies additional message information. The contents depend on the message parameter.