LRasterPaintWindow::MsgProcCallBack

Summary

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

Syntax

#include "ltwrappr.h"

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

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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DigitalPaint C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.