if ((style & SWT.CHECK) != 0) setCheckboxImageList ();
if ((style & SWT.CHECK) != 0) setCheckboxImageList (true);
void createHandle () {	super.createHandle ();	state &= ~CANVAS;	/* 	* This code is intentionally commented.  According to	* the documentation, setting the default item size is	* supposed to improve performance.  By experimentation,	* this does not seem to have much of an effect.	*/	//	OS.SendMessage (handle, OS.LVM_SETITEMCOUNT, 1024 * 2, 0);	/* Set the checkbox image list */	if ((style & SWT.CHECK) != 0) setCheckboxImageList ();	/*	* Feature in Windows.  When the control is created,	* it does not use the default system font.  A new HFONT	* is created and destroyed when the control is destroyed.	* This means that a program that queries the font from	* this control, uses the font in another control and then	* destroys this control will have the font unexpectedly	* destroyed in the other control.  The fix is to assign	* the font ourselves each time the control is created.	* The control will not destroy a font that it did not	* create.	*/	int hFont = OS.GetStockObject (OS.SYSTEM_FONT);	OS.SendMessage (handle, OS.WM_SETFONT, hFont, 0);	/*	* Bug in Windows.  When the first column is inserted	* without setting the header text, Windows will never	* allow the header text for the first column to be set.	* The fix is to set the text to an empty string when	* the column is inserted.	*/	LVCOLUMN lvColumn = new LVCOLUMN ();	lvColumn.mask = OS.LVCF_TEXT;	int hHeap = OS.GetProcessHeap ();	int pszText = OS.HeapAlloc (hHeap, OS.HEAP_ZERO_MEMORY, TCHAR.sizeof);	lvColumn.pszText = pszText;	OS.SendMessage (handle, OS.LVM_INSERTCOLUMN, 0, lvColumn);	OS.HeapFree (hHeap, 0, pszText);	/* Set the extended style bits */	int bits = OS.LVS_EX_SUBITEMIMAGES | OS.LVS_EX_LABELTIP;	if ((style & SWT.FULL_SELECTION) != 0) bits |= OS.LVS_EX_FULLROWSELECT;	OS.SendMessage (handle, OS.LVM_SETEXTENDEDLISTVIEWSTYLE, bits, bits);}