|
Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
LRasterPaintWindow::MsgProcCallBack
#include "ltwrappr.h"
virtual LRESULT LRasterPaintWindow::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 (LRasterPaintWindow::MsgProcCallBack) for default processing.
Required DLLs and Libraries
LTPNT For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application |
See Also
Functions: |
Example
class LUserPntWnd : public LRasterPaintWindow { public: LUserPntWnd(); virtual ~LUserPntWnd(); virtual LRESULT MsgProcCallBack(HWND hWnd,UINT uMsg,WPARAM wParam,LPARAM lParam); }; // Construction/Destruction LUserPntWnd::LUserPntWnd() { } LUserPntWnd::~LUserPntWnd() { } LRESULT LUserPntWnd::MsgProcCallBack(HWND hWnd,UINT uMsg,WPARAM wParam,LPARAM lParam) { switch (uMsg) { case WM_CLOSE: break ; }; return LRasterPaintWindow::MsgProcCallBack(hWnd,uMsg,wParam,lParam); }