Windows does not do this automatically; Windows apps have to disable all the
contained controls individually. In fact, Windows dialogs at the API level do
not support the concept of containers and ownership at all. All controls are
peers. Visual Basic and Delphi both support a containment hierarchy, but it is
an extension.
I think you could argue that wxWindows ought to be doing this for us if the
underlying API does not.
···
On Tue, 30 Jul 2002 14:18:45 +0200, Andre Reitz <reitz@inworks.de> wrote:
a simple question:
wxPanel.Enable(0)
- works correctly under MSW and GTK
- under MSW the button doesnt become gray, so
the User will not see that it is disabled.
- Is it a bug?
- Will it be fixed?
- Can it be fixed?
- Is there a workaround, except than disabling every
component on the panel
--
- Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.
>
>a simple question:
>
>wxPanel.Enable(0)
>
>- works correctly under MSW and GTK
>- under MSW the button doesnt become gray, so
> the User will not see that it is disabled.
>- Is it a bug?
>- Will it be fixed?
>- Can it be fixed?
>- Is there a workaround, except than disabling every
> component on the panel
Windows does not do this automatically; Windows apps have to disable all the
contained controls individually. In fact, Windows dialogs at the API level do
not support the concept of containers and ownership at all. All controls are
peers. Visual Basic and Delphi both support a containment hierarchy, but it is
an extension.
I think you could argue that wxWindows ought to be doing this for us if the
underlying API does not.
Well I think, that it should
Is there anything planned to do this?
Greetings, Andre'
···
On Tue, 30 Jul 2002 09:55:41 -0700 "Tim Roberts" <timr@probo.com> wrote:
On Tue, 30 Jul 2002 14:18:45 +0200, Andre Reitz <reitz@inworks.de> wrote:
--
- Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.
_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwindows.org
http://lists.wxwindows.org/mailman/listinfo/wxpython-users
--
_____________________________________________
inworks GmbH Andre Reitz
Magirusstrasse 44 Tel. 0731/93 80 7-21
89077 Ulm http://www.inworks.de