#include "ltwrappr.h"
L_BOOL LBitmapWindow::HandlePalette(uMsg, wParam, lParam)
UINT uMsg; |
window message |
WPARAM wParam; |
first parameter of the window message |
LPARAM lParam; |
second parameter of the window message |
Call this function to let the bitmap window automatically handle the palette based on the specified message.
Parameter |
Description |
uMsg |
The window message. |
wParam |
The first parameter of the window message. |
lParam |
The second parameter of the window message. |
TRUE |
The bitmap window was repainted. |
FALSE |
The bitmap window was not repainted. |
This function works with the following Windows messages:
WM_PALETTECHANGED
WM_QUERYNEWPALETTE
WM_SYSCOLORCHANGE
This function will respond to these messages by automatically handling palette issues properly.
You are responsible for calling this function with the appropriate window message to let the class object's window respond to palette changes.
Required DLLs and Libraries
LTDIS For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
Win32, x64.
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