EmEditor Home - EmEditor Help - Plug-in Reference - Messages to Plug-ins


Retrieves mask color for the plug-in button on a toolbar.

   hwnd = hwndParent;
    wParam = flags;
    lParam = 0;



The window handle of the EmEditor frame window.


Specifies the bitmap color depth for a bitmap to retrieve.

Value Meaning
BITMAP_24BIT_COLOR 24bit color (true color) bitmap
BITMAP_256_COLOR 256 color bitmap

Return Values

You must return a mask color for the plug-in button on a toolbar as an RGB( r, g, b ) value. A mask color on the bitmap will be replaced with the background color of a toolbar. A mask color for a large bitmap must be the same as a mask color for a small bitmap. Currently, you cannot specify a mask color for 16 color bitmaps. If the return value is zero, EmEditor will use RGB(192,192,192) as a default mask color.

Copyright 2003-2016 by Emurasoft, Inc.