Как поменять цвет...
- From
- Stas Malinovski (2:5042/13.14)
- To
- Nikitin Sergey ()
- Date
- 2002-04-04T20:44:43Z
- Area
- RU.DELPHI
Hi Nikitin!
NS> Отобpажается некотоpое изобpажение (иконка файла),
NS> нyжно пpи наведении кypсоpа мышки поменять цвет изобpажения ( плюс
NS> clHighLight, как пpи клике на иконкy, находяшyюся на pабочем столе).
NS> Как это сделать?
BOOL WINAPI ImageList_Draw(
HIMAGELIST himl,
int i,
HDC hdcDst,
int x,
int y,
UINT fStyle
);
fStyle
Flag specifying the drawing style. This parameter can be one or more of the following values:
Value Meaning
ILD_BLEND25,
ILD_FOCUS Draws the image, blending 25 percent with the system highlight color. This value has no effect if the image list does not contain a mask.
ILD_BLEND50,
ILD_SELECTED,
ILD_BLEND Draws the image, blending 50 percent with the system highlight color. This value has no effect if the image list does not contain a mask.
ILD_MASK Draws the mask.
ILD_NORMAL Draws the image using the background color for the image list. If the background color is the CLR_NONE value, the image is drawn transparently using the mask.
ILD_TRANSPARENT Draws the image transparently using the mask, regardless of the background color. This value has no effect if the image list does not contain a mask.
Bye Nikitin!
--- GoldED+/W32 1.1.3
* Origin: empty (2:5042/13.14)