LImageViewerCell::HandlePalette

Summary

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.

Syntax

#include "ltwrappr.h"

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

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

See Also

Functions

Topics

Example

For an example, refer to the medical viewer classlib demo.

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

LEADTOOLS Medical Image Viewer C++ Class Library Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.