Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » The DataPusher(?) does not show up
Re: The DataPusher(?) does not show up [message #13154 is a reply to message #13127] Sun, 16 December 2007 23:11 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14261
Registered: November 2005
Ultimate Member
loki wrote on Fri, 14 December 2007 11:00

Sorry, I thought that image and description are enough to show the problem.

So, here is a testcase.
I am using the Ultimate++ 711-dev2 Version.

Greetings loki


Thank you, bug in U++, fixed. (You was lucky enough to hit single exact width of column where it failed to work properly).

Quick fix:

Rect ArrayCtrl::GetCellRect(int i, int col)
{
	Rect r;
	r.top = GetLineY(i) - sb;
	r.bottom = r.top + GetLineCy(i);
	int x = 0;
	for(i = 0; header.GetTabIndex(i) != col; i++)
		x += header.GetTabWidth(i);
	r.left = x - header.GetScroll();
	r.right = r.left + header.GetTabWidth(i) - vertgrid + (col == column.GetCount() - 1);
	return r;
}


Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message icon14.gif
Previous Topic: SqlCtrl accessing
Next Topic: Bug in GridCtrl's WhenLeftDouble?
Goto Forum:
  


Current Time: Thu Jun 26 09:26:13 CEST 2025

Total time taken to generate the page: 0.04876 seconds