https://www.leadtools.com/help/sdk/main/clib/lbitmapwindow-handlepalette.html
LBitmapWindow::HandlePalette | LBitmapWindow Class Members | Raster imaging C++ Class Library Help
Call this function to let the bitmap window automatically handle the palette based on the specified message.
class membersrasterimaginglibraryhelp