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++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » BUG: "Close();" does not!
Re: BUG: "Close();" does not! [message #41882 is a reply to message #41877] Mon, 03 February 2014 15:43 Go to previous messageGo to previous message
slashupp is currently offline  slashupp
Messages: 231
Registered: July 2009
Experienced Member
Possible solution:

void testclose::DoClose()
{
	static int cb=0;
	if (!cb) { cb=1; SetTimeCallback(10, THISBACK(DoClose), 0); }
	else Close();
}


The PostCallBack(..)-function does the above but with a 1 ms delay
and my version just increases that time-out value.
This seems a cleaner way than calling Break() ( - the word 'break'
sounds like things won't end nicely Smile
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Unability to debug
Next Topic: Problematic hack in upp::Build.cpp
Goto Forum:
  


Current Time: Fri Jun 06 22:24:11 CEST 2025

Total time taken to generate the page: 0.05279 seconds