From: Robert M. <rob...@us...> - 2007-07-15 22:51:03
|
On 15/07/07, Salvador Ortiz Garc=EDa <so...@ms...> wrote: > Right now when using the MDI TAB navigation just doesn't works, as a > test just change the MDI.pl sample by adding a second Textfield control, > make them singleline (to keep it simple), add the proper tabstop =3D> 1 > and try adding a dialogui=3D>1 either to the MDIChild or to the MDIFrame. > > (Complete test case at request) > > The first case (dialogui=3D>1 in MDIChild) simply doesn't works because i= n > the main loop of Dialog in GUI.xs, fIsDialog is tested only on the top > window. > > In the second case (dialogui=3D>1 in MDIFrame) a first TAB seems to work, > but the focus doesn't move past the first control. > > Worse, when I try adding a -controlparent =3D> 1 to the MDIChild, a few > TABs results in all the application freezing. > > The attached patch cures that, allowing dialogui=3D>1 in the MDIChild and > calling IsDialogMessage in the context of that window. > > Comments? Thanks. I've applied this to my local copy, and will sync it into CVS once I've had a chance to give it a spin. MDI windows aren't something I use much (at all?), so I'll only be making sure it doesn't break anything else. Regards, Rob. |