LRasterPaintWindow::HandlePalette

#include "ltwrappr.h"

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

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

Parameters

L_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 paint window was repainted.
FALSE The paint window was not repainted.

Comments

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

See Also

Functions

Example

For an example, refer to LRasterPaintWindow::SetWndHandle.

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

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