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++ Core » Problems with UPP_HEAP in multi-threaded
Re: Problems with UPP_HEAP in multi-threaded [message #17337 is a reply to message #17336] Fri, 08 August 2008 08:41 Go to previous message
mirek is currently offline  mirek
Messages: 13976
Registered: November 2005
Ultimate Member
Anyway, only a minor bug:

void Ctrl::PopUp(Ctrl *owner, bool savebits, bool activate, bool, bool)
{
	LLOG("POPUP: " << UPP::Name(this));
	Ctrl *q = owner ? owner->GetTopCtrl() : GetActiveCtrl();
	ignoretakefocus = true;
	Create(q, true, savebits);
	if(activate && q) {
		q->StartPopupGrab();
		popupgrab = true;
	}
	if(top) popup = true;
	WndShow(visible);
	if(activate && IsEnabled())
		SetFocus();
	if(top) top->owner = owner;
	StateH(OPEN);
}


-> the problem was than the menu is "alone" without real application. Fixed by "&& q".

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: DEFAULT_MAX_CONTENT_SIZE or max_content_size
Next Topic: Smart pointer: Garbage collected by reference counting
Goto Forum:
  


Current Time: Thu May 09 09:41:23 CEST 2024

Total time taken to generate the page: 0.01506 seconds