Stefan Csomor
2014-02-20 08:33:44 UTC
Hi
I have an app running in the background and only having an icon on system status bar. When users plug in certain usb hardware, the main window should pop up and get user input. I think this behavior is not abrupt and expected by users. Here's the code.
yes, I see, this probably is the only situation where a bring to front is also accepted from mac user's standpoint, otherwise the attitude of apps 'I'm important, I want to talk to the general manager of this computer' is very annoying and frowned upon on macs.
Right now I have implemented that functionality in a private objective-c++ part only, what is the method on the other platforms - is calling Raise on the main window enough ? I'd like to use a rather specific API, so that not suddenly all wx-apps start to push in front on osx ...
Thanks,
Stefan
I have an app running in the background and only having an icon on system status bar. When users plug in certain usb hardware, the main window should pop up and get user input. I think this behavior is not abrupt and expected by users. Here's the code.
yes, I see, this probably is the only situation where a bring to front is also accepted from mac user's standpoint, otherwise the attitude of apps 'I'm important, I want to talk to the general manager of this computer' is very annoying and frowned upon on macs.
Right now I have implemented that functionality in a private objective-c++ part only, what is the method on the other platforms - is calling Raise on the main window enough ? I'd like to use a rather specific API, so that not suddenly all wx-apps start to push in front on osx ...
Thanks,
Stefan
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users