LRasterPaintWindow::MsgProcCallBack

#include "ltwrappr.h"

virtual LRESULT LRasterPaintWindow::MsgProcCallBack(hWnd, uMsg, wParam, lParam)

This function is called for each message the bitmap window control receives.

Parameters

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.

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

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); 
} 
Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DigitalPaint C++ Class Library Help