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 #30990 is a reply to message #30988] Mon, 31 January 2011 15:01 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 13:13

dolik.rce wrote on Mon, 31 January 2011 08:12

fudadmin wrote on Mon, 31 January 2011 13:04

mirek wrote on Sun, 30 January 2011 08:51

Would

if(active) wnd->SetWndForeground();

work for you?


error: active is not declared

blind try - this works:
if(focusCtrl) focusCtrl->SetWndForeground();



I believe it should have been
if(activate) wnd->SetWndForeground();
At least that is what I did and it helped.

Honza


Did it? It's a great news then Smile

Mirek


Honza's proposed solution was based on a wrong believe Smile. Because - error: "wnd is not declared". What works is:
	if(activate) {
//		topwindow->SetWndForeground(); //this prevents menus in OSX11
		focusCtrl->SetWndForeground();
	}

if I understand correctly, if a menu pane is activated it should become focusCtrl and it should be put into foreground
 
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: Thu May 09 03:01:25 CEST 2024

Total time taken to generate the page: 0.02617 seconds