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 » GridCtrl: Assert Crash due to out of focus Remove
Re: GridCtrl: Assert Crash due to out of focus Remove [message #59853 is a reply to message #59852] Thu, 04 May 2023 17:52 Go to previous message
devilsclaw is currently offline  devilsclaw
Messages: 72
Registered: August 2022
Member
The solution I came up with is to set the valid_cursor to false after a remove

void GridCtrl::Remove(int i, int cnt)
{
	Remove0(i < 0 ? rowidx : fixed_rows + i, cnt);
	valid_cursor = false;
}
 
Read Message
Read Message
Previous Topic: ArrayCtrl vertical grid line dislocated
Next Topic: GridCtrl::ItemRect::GetConvert() return always NULL!!
Goto Forum:
  


Current Time: Fri Jul 18 10:13:22 CEST 2025

Total time taken to generate the page: 0.04100 seconds