This function is called whenever the class object updates its cursor.
#include "ltwrappr.h"
virtual L_BOOL LBitmapWindow::OnSetCursor(hWnd, nHitTest, message)
The Class Objects window handle.
The hit-test code. For more information, refer to the Windows SDK documentation for WM_SETCURSOR.
Identifier of the mouse message. For more information, refer to the Windows SDK documentation for WM_SETCURSOR.
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.
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.
Win32, x64.
For an example, refer to the example for LBitmapWindow::SetCursor.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document