Focus problem with modal window |
Post Reply |
Author | |
eclement
Newbie Joined: 19 February 2008 Status: Offline Points: 2 |
Post Options
Thanks(0)
Posted: 19 February 2008 at 10:18am |
Hi,
I have a focus problem when I start a new application in a modal window from my main application. The window created lost the focus and the only way it can get it, it's with ALT+TAB keys. And then, when I click on the command bar, the window lost the focus and after if I click at the same place (where the command bar was), the window get the focus back and so on.
You can reproduce the problem with OnFileSendMail() from MFC (it will open of new mail message window) or when create a modal window from a new application attached to the main window.
I use the version 11.2.2 of Toolkit Pro.
Thanks,
|
|
cgaskill
Newbie Joined: 13 April 2006 Location: United States Status: Offline Points: 15 |
Post Options
Thanks(0)
|
Are you by chance changing the caption of a menu/toolbar control? I have just ran into a situation where changing the caption of a menu/toolbar control causes the current window to lose focus.
|
|
eclement
Newbie Joined: 19 February 2008 Status: Offline Points: 2 |
Post Options
Thanks(0)
|
It is more then a problem of focus lost. When a create the new modal window (new application), it doesn't have the focus. When it have it (with ALT+TAB + click on main application), it lost the focus again when I click on the command bar. If I click again, the window get the focus back and so on (it's a cycle).
I found something new, the modal window that I created is present between the main window and all docking windows (all the docking windows are in from of this modal window).
Can someone help me?
Regards,
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |