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 » U++ Widgets - General questions or Mixed problems » ColumnList question (sort column)
Re: ColumnList question (sort column) [message #2909 is a reply to message #2898] Sat, 29 April 2006 19:52 Go to previous messageGo to previous message
fudadmin is currently offline  fudadmin
Messages: 1321
Registered: November 2005
Location: Kaunas, Lithuania
Ultimate Contributor
Administrator
I don't know how much useful for your case but you can try to study ide/Custom.cpp:
class CustomOrder : public ArrayCtrl::Order {
public:
	virtual bool operator()(const Vector<Value>& row1, const Vector<Value>& row2) const {
		for(int i = 0; i < 3; i++)
			if(String(row1[i]) != String(row2[i]))
				return String(row1[i]) < String(row2[i]);
		return false;
	}
};

and related stuff...
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to set window shape by means of a bitmap?
Next Topic: Borderless always-on-top non-modal window
Goto Forum:
  


Current Time: Sat Jun 07 13:29:22 CEST 2025

Total time taken to generate the page: 0.04384 seconds