Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
LBitmapWindow::MsgProcCallBack
#include "ltwrappr.h"
virtual LRESULT LBitmapWindow::MsgProcCallBack(hWnd, uMsg, wParam, lParam)
HWND hWnd; |
/* handle to the bitmap window */ |
UINT uMsg; |
/* the window message */ |
WPARAM wParam; |
/* the first parameter of the window message */ |
LPARAM lParam; |
/* the second parameter of the window message */ |
This function is called for each message the bitmap window control receives.
Parameter |
Description |
hWnd |
Handle to the bitmap window. |
uMsg |
The window message. |
wParam |
The first parameter of the window message. |
lParam |
The second parameter of the window message. |
Returns
The result of processing a specific message.
Comments
Override this function to do your own processing of window events and messages. If you override this function you must call the base class implementation (LBitmapWindow::MsgProcCallBack) for default processing.
The following messages are NOT passed to the LBitmapWindow::MsgProcCallBack. To get these messages, sub-class the window using SetWindowLong().:
WM_GETDLGCODE
WM_SETCURSOR
WM_ERASEBKGND
WM_PAINT
Required DLLs and Libraries
LTDIS For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
Platforms
Win32, x64.
See Also
Functions: |
Example
For an example, refer to LBitmapWindow::CreatePanWnd.