#include "ltwrappr.h"
virtual LRESULT LRasterPaintWindow::MsgProcCallBack(hWnd, uMsg, wParam, lParam)
This function is called for each message the bitmap window control receives.
Handle to the bitmap window.
The window message.
The first parameter of the window message.
The second parameter of the window message.
The result of processing a specific message.
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
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);
}