LBitmapWindow::OnSetCursor

#include "ltwrappr.h"

virtual L_BOOL LBitmapWindow::OnSetCursor(hWnd, nHitTest, message)

This function is called whenever the class object updates its cursor.

Parameters

HWND hWnd

The Class Objects window handle.

L_UINT nHitTest

The hit-test code. For more information, refer to the Windows SDK documentation for WM_SETCURSOR.

L_UINT message

Identifier of the mouse message. For more information, refer to the Windows SDK documentation for WM_SETCURSOR.

Returns

Value Meaning
TRUE The function was successful.
FALSE An error occurred. Refer to Return Codes.

If an application processes this message, it should return TRUE to halt further processing or FALSE to continue.  For more information, refer to the MSDN documentation for WM_SETCURSOR.

Comments

Override this function if you want to change the cursor for the class object's window.

This function will be called following the class object's own processing of the WM_SETCURSOR message.

For more information, refer to the Windows SDK documentation for WM_SETCURSOR.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Example

For an example, refer to the example for LBitmapWindow::SetCursor.

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help