Please enable JavaScript to view this site.

KOL/MCK - User Guide

Add(bmp, msk) - adds a bitmap with the specified mask (both parameters are descriptors of bitmap types of hBitmap type);

AddMasked(bmp, C) - adds a bmp image (of the hBitmap type), building a mask for it by the image itself (assuming the color C in the image is transparent);

AddIcon(ico) - adds an icon to the list (the parameter is a descriptor of an icon of the hIcon type);

Delete(i) - removes the image with index i from the list (all other images in the list are shifted one position to the left, i.e. their indices are reduced);

LoadBitmap(resName, C) - the main method for loading images from the resources of the application itself, the C parameter is used as the color of the transparent area (in the image resource, one of the colors should be used to identify transparent areas);

LoadFromFile(s, C, imgType)- loads images from the specified file. Similar to the LoadBitmap method, the C color is used to build a transparency mask for masked lists. The last parameter sets the type of images (for icons and cursors, transparency is taken from the loaded images themselves, and the C parameter is ignored);

LoadSystemIcons(smallicons) - Associates the list of images with the global system icon list, which stores, among other things, icons corresponding to the file types registered in the system. In fact, although the name of this method begins with the word Load, there is no physical "loading" of the images. Simply referring to the images of the given list leads to referring to the icons of the system list. The system list cannot be modified (access is possible in the "read-only" mode).

 

To get information about which icons from the list correspond to which types of files, you need to use either API functions or KOL functions (FileIconSystemIdx, FileIconSysIdxOffline, DirIconSysIdxOffline);

 

KOL / MCK User Guide - Created by Carl Peeraer - Diamant Soft, based on the work of Vladimir Kladov - Artwerp.be

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Nav Header: ALT+n
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Exit Menu/Up: ESC