LImageViewerCell::HandlePalette

#include "ltwrappr.h"

L_BOOL LImageViewerCell::HandlePalette (uMessage, wParam, uFlags)

Provides an interface with the viewer to allow it to receive messages that inform the control that the palette has been changed.  This feature is available in version 16 or higher.

Parameters

L_UINT uMessage

Value that indicate the message that will be sent to the viewer main window.

WPARAM wParam

wParam value to be passed to the message.

L_UINT uFlags

Reserved for future use. Pass 0.

Returns

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

Comments

This function is used to display images correctly when working on 8-bit viewing systems.

The allowed messages to be received through the parameter uMessage are:

In order to use this function, first set the uFlags parameter of the LImageViewer::Create function to CONTAINER_HANDLEPALETTE.

Required DLLs and Libraries

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

LEADTOOLS Medical Image Viewer C++ Class Library Help