LBitmapWindow::HandlePalette

Summary

Call this function to let the bitmap window automatically handle the palette based on the specified message.

Syntax

#include "ltwrappr.h"

L_BOOL LBitmapWindow::HandlePalette(uMsg, wParam, lParam)

Parameters

UINT uMsg

The window message.

WPARAM wParam

The first parameter of the window message.

LPARAM lParam

The second parameter of the window message.

Returns

Value Meaning
TRUE The bitmap window was repainted.
FALSE The bitmap window was not repainted.

Comments

This function works with the following Windows messages:

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

Platforms

Win32, x64.

See Also

Functions

Topics

Example

For an example, refer to LBitmapWindow::CreatePanWnd.

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

LEADTOOLS Raster Imaging C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.