MDIchild window Focus behavior

Post Reply
AHF
Posts: 837
Joined: Fri Feb 10, 2006 12:14 pm

MDIchild window Focus behavior

Post by AHF »

Hello,

In FW CaClipper when any control on MDIchild is clicked the MDIchild gets focus. On FWH this doesn't happens anymore.
How can I make it work the same way ?

Antonio
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Antonio,

Please test samples\TestMdi5.prg and click on the GET, the focus its given to its mdichild window
regards, saludos

Antonio Linares
www.fivetechsoft.com
AHF
Posts: 837
Joined: Fri Feb 10, 2006 12:14 pm

Post by AHF »

This app wich works fine in 16bt however in 32 bt xharbour has the following diferences :

1) You can't click a get in a unfocused mdichil. you must 1st click teh mdichild to get it focused then click the get.

2) You can however click buttons and browses and scrollbars on unfocused mdichild without focused on it.

This is a totally diferent behavior than 16bt.
All mdichilds have a dialog inside and all controls are in the dialog not in the mdichild directly.

How can I solve it ?
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Antonio,

If you find some difference behaviors from 16 bits apps to 32 bits apps is due to Windows, as we use exactly the same code for both FW and FWH.

We don't place dialogs inside the MDICHILD windows. It can be done, but we don't do it by default.
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply