if (OS.IsWindowVisible (handle)) {
if (--customCount == 0 && OS.IsWindowVisible (handle)) {
LRESULT CDDS_POSTPAINT (int wParam, int lParam) {	if (OS.IsWindowVisible (handle)) {		/*		* Bug in Windows.  When the table has the extended style		* LVS_EX_FULLROWSELECT and LVM_SETBKCOLOR is used with		* CLR_NONE to make the table transparent, Windows fills		* a black rectangle around any column that contains an		* image.  The fix is clear LVS_EX_FULLROWSELECT during		* custom draw.		*/		if ((style & SWT.FULL_SELECTION) != 0) {			if (OS.SendMessage (handle, OS.LVM_GETBKCOLOR, 0, 0) == OS.CLR_NONE) {				int bits = OS.LVS_EX_FULLROWSELECT;				if (OS.IsWinCE) {					RECT rect = new RECT ();					boolean damaged = OS.GetUpdateRect (handle, rect, true);					OS.SendMessage (handle, OS.LVM_SETEXTENDEDLISTVIEWSTYLE, bits, bits);					OS.ValidateRect (handle, null);					if (damaged) OS.InvalidateRect (handle, rect, true);				} else {					int rgn = OS.CreateRectRgn (0, 0, 0, 0);					int result = OS.GetUpdateRgn (handle, rgn, true);					OS.SendMessage (handle, OS.LVM_SETEXTENDEDLISTVIEWSTYLE, bits, bits);					OS.ValidateRect (handle, null);					if (result != OS.NULLREGION) OS.InvalidateRgn (handle, rgn, true);					OS.DeleteObject (rgn);				}			}		}	}	return null;}