Show/Hide Toolbars

EmEditor Help

Navigation: EmEditor Help > Plug-in Reference > Messages to Plug-ins

EmEditor Plug-in Reference: EP_GET_MASK

Scroll Prev Top Next More
EmEditor Home - EmEditor Help - Plug-in Reference - Messages to Plug-ins

EP_GET_MASK

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

EP_GET_MASK

  hwnd = hwndParent;

   wParam = flags;

   lParam = 0;

Parameters

hwndParent

The window handle of the EmEditor frame window.

flags

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.