News from 17-Dec-2006 (KOL & MCK v2.49)
[-]
ASM
Method TObj.Final fixed (asm-version). At least a memory leak could occur.
[+] TStream.WriteWStrZ and ReadWStrZ methods added (working with Unicode strings anyway). Also functions added to create file streams with Unicode file name: NewReadFileStreamW, NewWriteFileStreamW, NewReadWriteFileStreamW. And a function added to create file or pipe stream on base of existing (opened) file or pipe handle: NewExFileStream.
[+] Functions added: UTF8_2WideString, W__DelimiterLast, WFileCreate, WFileExists, WDirectoryExists, WExtractFilePath added (useful to create dual-type applications which can work with Unicode file functions under NT but under 9x use non-Unicode API functions).
[-] API functions DragQueryFileA, DragQueryFileW declarations fixed in KOL.pas, so OnDropFiles event also fixed (was broken both in Unicode and non-Unicode versions).
[+] A method TWStrList.IndexOf provided.
[-] Function WStrCmp fixed.
[*]
UNI
For type enumeration TRETextFormat a value reTextUnicode added. It allows to load Unicode plane text to rich edit control. Methods TControl.REReadText, REWriteText and property RE_Text changed to use KOLString type for a parameter.
[*]UNI Type TOnDropFiles for a correspondent event changed: String parameter replaced with KOL_String. So, this event handler become nominally incompatible. Though actually it is compatible and to restore correcness for existing such event handlers it is sufficiently to copy old handler code, recreate the handler as usual and insert there the old (grabbed) code.
[-] In TObj.DoDestroy now Self.Destroy is called to provide compatibility with Free Pascal (otherwise TObj.Destroy is called, ignoring virtual specification).
[-] In the function WndProcGradientEx, usual Round used instead of ceil to calculate gradient color value. This fixes some artefacts in gradient fill.
[-] For tool bar control, a fixed button was created instead of separator, fixed.
[-]
UNI
Method TControl.TBSetTooltips (asm-version) fixed for case of UNICODE_CTRLS.
[-] Method TBitmap.LoadFromStream fixed a bit.
[-]
ADD
TAction fixed for case of UNICODE_CTRLS.
[*] Some changes in BitBtnDraw. Flat style returned to the previous version (no border at all until mouse is over the control). An option bboFocusRect added, and with it DrawFocusRect used to indicate focused state rather then surrounding shaded frame (very like to a standard button view).
 
News from 26-Nov-2006 (KOL & MCK v2.48)
[-]
UNI
Some more fixes for UNICODE_CTRLS.
[-] WndFunc asm-version fixed. Non-fatal in most cases but could emit problems with the application/form destroying.
[-] Possible problems with progress bar destroying fixed.
 
News from 25-Nov-2006 (KOL & MCK v2.47)
[*]
UNI
For UNICODE_CTRLS symbol, several fixes: KOL.SearchAnsiMnemonics, KOLadd.TAction, KOLadd.TCabFile. And also NewButton, NewLabel, NewGroupbox.
[-]
D2
For Delphi2, compiling KOL and MCK fixed (some problems with incompatibility).
[-] TGraphicTool.Changed PAS-version fixed (OnChange did not call if Handle=0).
[*]
MCK
Code for assigning Hint property now generated enclosed into brackets {$IFDEF USE_MHTOOLTIP}. So, it will not have effect if such symbol is not defined in the project options.
 
News from 24-Nov-2006 (KOL & MCK v2.46)
[-] Restoring form to maximized state fixed (MinimizeNormalAnimated must be used though). This feature was lost in v2.11, but now restored though a bit another way.
[-] KOLDirDlgEx.TOpenDirDialogEx fixed for case of using ToGRush unit (did not start scanning directories in OnShow event and tree view was not focused).
[-] KOLadd.ShowQuestionXXX fixed: buttons now are centered, both in usual case and ToGRush.pas used.
[*]
UNI
  • For UNICODE_CTRLS symbol, correct captions provided for toolbar buttons with text;
  • ToGRush unit modified a bit and it is possible use it with UNICODE_CTRLS;
  • BitBtn drawing fixed for case of UNICODE_CTRLS.
  • ControlClassName now has type PKOLChar (since it is passed some API functions in its Unicode variant when UNICODE_CTRLS defined). So, constants are redeclared for standard set of classes.
  • Some small changes in KOL_unicode.inc (Char -> KOLChar). Thanks to Don.
[-] One more fix of KOL.TBitmap.LoadFromStreamEx (and LoadFromStream too) for 16-bit images with offset stored in the bitmap. Also, stream size is checked for LoadFromStreamEx and in case when it returns 0, the method does not use it (TStream.Size can return 0 for some rare stream objects which size is not known until it is reading). And some small fixes for loading RLE-encoded bitmap in LoadFromStreamEx (preventing stream EOF overrun).
[-] TStrList.GetLineValue fixed, thanks to Boris Mouradov.
 
News from 22-Nov-2006 (KOL & MCK v2.45)
[*] Some more changes in ToGRush unit and :
  • functions provided (both in KOL.pas and in ToGRush.pas): ToolbarButtonVisible, ShowHideToolbarButton, ToolbarButtonEnabled, EnableToolbarButton to make code more unversal in KOL / MCK projects using ToGRush conversion. Also, code generation provided in MCK on base of these functions for case when the symbol USE_GRUSH used in the project;
  • for toolbar, some enchncements made in ToGRush: for drop-down button, drop-down mark moved into the parent button. Also by default 256-gray image is provided automatically to represent disabled state of images. And for case when USE_MHTOOLTIP symbol defined, ToolbarSetTooltips function is called in MCK, which provides tooltips for toolbar buttons;
  • Some other small changes in ToGRush unit. Now it is mostly finished and ready to use.
[-]
UNI
Event type TOnODSelChange for event TOpenDirDialog.OnSelChange changed to use KOL_String and PKOL_Char types in parameters, so Delphi generates (when MCK used) correct event handler for UNICODE_CTRLS symbol (but such event handler declaration is not compatible with the previous one, so it must be recreated in existing projects).
 
News from 20-Nov-2006 (KOL & MCK v2.44)
[-]
GRH
Craphic controls fixes:
  • In asm version, focusable graphic controls were auto destroyed in on click event, fixed;
  • Transparent drawing of graphic check box and radio box fixed (in case on non-themed application);
  • Property Color applied also for graphic radio box while drawing it.
[-]
MCK
MCK fixed a bit (did not compile in previous version).
[*] Small changes in the unit ToGRush. Progress bar implemented, appropriate initial size set for button, label, etc. Some small changes in KOLadd.pas (function ShowQuestionEx) to provide more correct sizing.
 
News from 19-Nov-2006 (KOL & MCK v2.43)
[*]
UNI
Changes made for RichEdit control for case of UNICODE_CTRLS symbol defined:
  • Type TRETextFormat changed: value reUnicode added to allow loading UNICODE text via a stream;
  • REUrl property declared as KOLString;
  • Type changed from String to KOLString in methods ReplaceSelection, REAppend, REInsertRTF, RESearchText;
  • Method RE_WSearchText moved to deprecated (RE_SearchText only should be used in future);
  • For function NewRichEdit1 only pas version left for case of UNICODE_CTRLS (this fixes working RichEdit under UNICODE_CTRLS with asm code)
[*]
UNI
Other changes for UNICODE_CTRLS:
  • Type TOnAnotherInstance changed: type KOLString used since command line can be UNICODE string;
  • Function Format fixed for case of UNICODE_CTRLS
[+] A unit added ToGRush to provide fast existing project migrating to use of GRushControls. So, in KOL.pas:
  • type TEdgeStyle changed a bit (value esTransparent added to allow creating panels without creating GRushPanel and transparent, just to bound laying controls and allow aligning it but without other visual effects;
  • function ToolbarButtonRect provided to allow overriding it in the unit ToGRush, this function suggested to be used instead of method TControl.TBButtonRect for GRush-compiant projects;
  • functions ShowMsgModal, ShowQuestion, ShowQuestionEx moved to KOLadd.pas;
  • units KOLadd, KOLDirDlgEx now refer to KOLGRushControls unit in their USES clauses (but if symbol USE_GRUSH is defined in the project options, certainly), so form-based dialogs defined there automatically use GRush controls if so defined.
[*] Difference with applying Ctl3D property in asm- and pas- version removed.
[*] Small changes in BitBtn drawing style, by MTsvDN.
[*] For case of using CUSTOM_EXTENSIONS symbol, a capability added to insert a custom code into TControl.Destroy implementation (from CUSTOM_TCONTROL_DESTROY.INC file).
[-] Method TBitmap.LoadFromStreamEx fixed for case of very rare incorrect (damaged) bitmap.
[-] Method TBitmap.CopyRect (pas-version) fixed.
[*] For graphic controls, drawing background with a Color defined for a control provided (was not implemented before).
[-] JpegObj.pas changed (loading damaged jpeg file which actually is not jpeg image, fixed: at least application can work and recognize the bad image as a corrupted).
[-]
MCK
Generating code for toolbar with custom only square images in bitmap (not image lists) fixed.
 
News from 12-Nov-2006 (KOL & MCK v2.42a)
[-]
MCK
Emergency: assigning events to menu items and generating code for it fixed. If you already opened projects with MCK 2.42, check ypur event handlers, and reassign it. (If names of handlers mach names assigned by default, it is sufficient to double click event handler field in the Object Inspector after opening menu design dialog).
[-]
MCK
For Delphi 2, 3 installing MCK fixed.
 
News from 11-Nov-2006 (KOL & MCK v2.42)
[*] For BitBtn, default order of glyphs changed to [normal, disabled, pressed, focused, highlighted] (disabled and pressed exchanged). It is possible to use the old order adding a symbol BITBTN_DISABLEDGLYPH2 to the project options.
[-] A symbol RICHEDIT_XPBORDER added, which adds a code fixing themed border draw for rich edit under XP and Vista.
[-] Comments fixed for TControl.SelStart property: this property does not work for listbox and combobox (though SelCount correctly shows count of selected items).
[-]
UNI
Methods TControl.IndexOf and TControl.SearchFor fixed for case of UNICODE_CTRLS (KOLString type used). Thanks to MTsvDN.
[*] TWindowsVersion type returned by a function WinVer changed a bit: wvLonghord replaced with wvVista.
[-] ShellFileOperation declaration fixed, so functions DoFileOp and DeleteFile2Recycle now work correctly.
[-] Function FileExists fixed for case when symbol FILE_EXISTS_EX used (e.i. when Find_First function is used to implement the FileExists function).
[-]
ASM
Method TBitmap.Convert2Mask (asm version) fixed for case of palette bitmaps (pf1bit, pf4bit, pf8bit), and since this methods TBitmap.DrawTransparent and TBitmap.StretchDrawTransparent now work correctly too.
[-]
MCK
Caching code generated for TKOLMainMenu abandoned, so removing the reference to menu item click event handler removed at design time now works properly.
[-]
MCK
TKOLMainMenu bar drawing when form is just opened in the designer fixed.
[*]
GTK
Some progress achieved in adopting KOL for using it with GTK+. Property Font implemented (both for TControl and TCanvas), AutoSize now working, working under menu started.
 
News from 31-Oct-2006 (KOL & MCK v2.41a)
[*] As you can see, site design changed.
[*] Some fixes in UNICODE support. KOL, MCK and KOL_unicode are updated. Still version is not final, only the update is available for main archives.
   
Previous news pages
 

Copyright (C) 1999-2006 by Vladimir Kladov