Saturday, May 05, 2007

QC45527


I've submitted QC report 45527 about a small, probably infrequently encountered issue with TCheckListBox: when themes are not used and you're using the Flat style, horizontal scrolling sometimes causes the checkboxes not to be redrawn properly.
Attached to the report are more details, screenshots and a sample project.

The problem somehow seems to be related to setting the clipping region in TCheckListBox.DrawCheck method. I was unable, so far, to find out the exact cause of the problem.

My proposed workaround which prepares an in-memory bitmap of the checkboxes and uses no clipping on the control's canvas directly is also attached to the report.

Friday, December 22, 2006

The missing Import Component Wizard in Turbo Delphi (Win32)


Apparently the Import Component and View Type Library wizards are not enabled in Turbo Delphi (Win32) by default.
A workaround has been posted on the newsgroups:

Create an empty file named: ATLBASE.H in this directory: $(BDS)\include\atl\

Monday, December 18, 2006

The missing ActiveX Control Wizard


The ActiveX Control Wizard is missing in Delphi 2006 by default.
You can bring it back by adding the following string value in the registry:

[HKEY_CURRENT_USER\Software\Borland\BDS\4.0\Type Library]
"ActiveXWizard"="True"

I've just found it in a comment to QC25012.

Also see Delphi 2006 Hidden COM Registry Entries.

Regmon reveals another missing registry entry, "InteropCheck"="True", also mentioned here.