Discussion:
Reserve screen space for application window
Felix Wolfheimer
2014-10-23 09:58:02 UTC
Permalink
I'm trying to create a program which is supposed to act like the
gnome-panel on Linux or the task bar on Windows, respectively. This means
that other application windows should never overlap with the window of my
application. I wonder if wxWidgets has some function to get this behavior
(looked through the wxWindow class interface but didn't find something
which indicates such a functionality).
There are platform dependent ways to do this I've found (e.g. this one for
Gnome: https://bbs.archlinux.org/viewtopic.php?id=83602) but I'd prefer
some platform independent way if possible.
--
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
Eric Jensen
2014-10-23 10:53:04 UTC
Permalink
Hello Felix,

Thursday, October 23, 2014, 11:58:02 AM, you wrote:

FW> I'm trying to create a program which is supposed to act like the
FW> gnome-panel on Linux or the task bar on Windows, respectively.
FW> This means that other application windows should never overlap
FW> with the window of my application. I wonder if wxWidgets has some
FW> function to get this behavior (looked through the wxWindow class
FW> interface but didn't find something which indicates such a functionality).
FW> There are platform dependent ways to do this I've found (e.g.
FW> this one for Gnome:
FW> https://bbs.archlinux.org/viewtopic.php?id=83602) but I'd prefer
FW> some platform independent way if possible.--

There is nothing for this in wxWidgets.

Under Windows, you'd need this:
http://msdn.microsoft.com/en-us/library/windows/desktop/cc144177%28v=vs.85%29.aspx

Eric
--
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
Felix Wolfheimer
2014-10-23 22:25:36 UTC
Permalink
Thanks for the confirmation that this functionality is currently not
available in the wx API. I'll use platform specific code for this part then
and create an entry on the wx feature wish list including the links as
suggested.
Post by Eric Jensen
Hello Felix,
FW> I'm trying to create a program which is supposed to act like the
FW> gnome-panel on Linux or the task bar on Windows, respectively.
FW> This means that other application windows should never overlap
FW> with the window of my application. I wonder if wxWidgets has some
FW> function to get this behavior (looked through the wxWindow class
FW> interface but didn't find something which indicates such a
functionality).
FW> There are platform dependent ways to do this I've found (e.g.
FW> https://bbs.archlinux.org/viewtopic.php?id=83602) but I'd prefer
FW> some platform independent way if possible.--
There is nothing for this in wxWidgets.
http://msdn.microsoft.com/en-us/library/windows/desktop/cc144177%28v=vs.85%29.aspx
Eric
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
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
Igor Korot
2014-10-23 11:09:53 UTC
Permalink
Hi, Felix,

On Thu, Oct 23, 2014 at 2:58 AM, Felix Wolfheimer
I'm trying to create a program which is supposed to act like the gnome-panel
on Linux or the task bar on Windows, respectively. This means that other
application windows should never overlap with the window of my application.
I wonder if wxWidgets has some function to get this behavior (looked through
the wxWindow class interface but didn't find something which indicates such
a functionality).
There are platform dependent ways to do this I've found (e.g. this one for
Gnome: https://bbs.archlinux.org/viewtopic.php?id=83602) but I'd prefer some
platform independent way if possible.
You can also create a feature request on trac.wxwidgets.org placing
the both links
on the description and hopefully someone will implement it in the library.

Thank you.
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
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
Loading...