Problem with Focus when inserting CDialog as Child |
Post Reply |
Author | |
Moritz
Groupie Joined: 22 December 2005 Location: Germany Status: Offline Points: 11 |
Post Options
Thanks(0)
Posted: 09 October 2006 at 7:37am |
Hi Codejock,
I want to insert a CDialog into a CXTPShortcutbarPane. I did the following
My dialog is derived from CXTPDialogBase<CXTResizeDlg>
The Pane is create correct and the dialog is displayed, but the focus of an inserted editcontrol isn't lost. If I click into the editbox inside the dialog it is focused. Now if i press TAB nothing happens.
I checked your sample ShortcutBar, there none of the inserted controls gets or loses focus. I checked Outlook, where it gets and loses focus.
Isn't it implemented or do i have to set some kind of windowstyle like WS_EX_CONTROLPARENT?
Also I would like to have some better support for Dialog insertion like with CXTPDockingPane. There focus also doesn't work but insertion is much easier!
Thank you for your help!!
|
|
Gianni
Newbie Joined: 22 August 2011 Status: Offline Points: 1 |
Post Options
Thanks(0)
|
Hi,
I have the same problem, whth the same "CXTPDialogBase<CXTResizeDlg>". The only difference is that I have inserted it in a CView
|
|
astoyan
Admin Group Joined: 24 August 2013 Status: Offline Points: 303 |
Post Options
Thanks(0)
|
Thank you for reporting this. Please try to build and upload a small sample with all dialog insetions you are having issues with and we'll try to debug and fix it or provide a workaround.
Regards, Alex
|
|
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 |