Glenn W Munroe wrote:
I finally got the tabbing to work. Just in case anybody searches for this in the future, I have attached the working script.
Glad you got this sorted. WS_EX_CONTROLPARENT on the containing window is the right way to do this.
There is still no visual indication when disabling the window, but in hindsight, that's the expected behaviour anyway when disabling a window. It should be possible to disable the controls in cascade, as for the resize.
Daft isn't it - if you want the appearance to change, then you need to explicitly disable the child controls yourself.
MSDN says something like: when a control is disabled, then all its children are disabled too; but this isn't really what happens. I've seen threads elsewhere refering to this as 'implicit disabling'. The styles of the child windows are not automatically changed, it's just that the window manager stops focus (and mouse events presuamably) going to those child controls.
Regards, Rob.