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 » TopWindow&PopUp, TrayIcon » [BUG?] X11 (at least OSX) Menus displayed under TopWindow, owner=RootWindow
Re: [BUG?] X11 (at least OSX) Menus displayed under TopWindow, owner=RootWindow [message #31003 is a reply to message #31002] Mon, 31 January 2011 17:39 Go to previous messageGo to previous message
fudadmin is currently offline  fudadmin
Messages: 1321
Registered: November 2005
Location: Kaunas, Lithuania
Ultimate Contributor
Administrator
mirek wrote on Mon, 31 January 2011 16:28

fudadmin wrote on Mon, 31 January 2011 11:17

fudadmin wrote on Mon, 31 January 2011 15:15

Sorry, just noticed that this way is better:
	if(activate) {
		if(!this->IsPopUp())
			topwindow->SetWndForeground();
		else
			focusCtrl->SetWndForeground();		
	}

the previous
if(activate)
    topctrl->SetWndForeground();

causes flickering of the window frame, shadows and titlebar.

Sorry once again. I rushed. The above causes menu disappear when trying to select. I will try to investigate deeper - I need to understand more of the logic here. At least now I can work faster because I have ultimate++ theide quite useable in osx11.


So, should I put

if(activate)
    topctrl->SetWndForeground();


into trunk for now? Is flickering the only problem now?


Could go into trunk for now. I'll try to find out what causes that flickering. I haven't noticed anything else bad.
 
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
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
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Restoring TrayIcon control
Next Topic: TrayIcon test V2
Goto Forum:
  


Current Time: Wed May 08 10:28:46 CEST 2024

Total time taken to generate the page: 0.02511 seconds