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 #30989 is a reply to message #30988] Mon, 31 January 2011 14:51 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

mirek wrote on Mon, 31 January 2011 14:13

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

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

Well, it did fix the annoying behavior of theide stealing the focus to other programs Smile Not sure about OSX...

I still don't understand why is it necessary to SetWndForeground when setting focus. I would expect window manager to take care of that in case of user causes the focus change (e.g. by clicking in the window). In case of setting the focus from code, it should IMHO be up to programmer to decide if the window should get activated. And the programmer should use it very rarely, as it is quite annoying Smile

Honza

PS: And it didn't solve Radeks problems in the other thread...

[Updated on: Mon, 31 January 2011 14:53]

Report message to a moderator

 
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 11:23:23 CEST 2024

Total time taken to generate the page: 0.03209 seconds