![]() |
CXTPTaskPanel Keyboard navigation |
Post Reply ![]() |
Author | |
aaxemen ![]() Newbie ![]() Joined: 29 September 2004 Status: Offline Points: 12 |
![]() ![]() ![]() ![]() ![]() Posted: 09 November 2004 at 11:26pm |
Is it possible to fill a CXTPTaskPanel with LinkItems and then let the keyboard select one of the items?
Thanks, |
|
![]() |
|
Sven ![]() Senior Member ![]() Joined: 21 August 2003 Location: Germany Status: Offline Points: 127 |
![]() ![]() ![]() ![]() ![]() |
Yes, CXTPTaskPanel has a nice keyboard control. You can <tab> through the items and select (open) an item with <space>.
|
|
![]() |
|
aaxemen ![]() Newbie ![]() Joined: 29 September 2004 Status: Offline Points: 12 |
![]() ![]() ![]() ![]() ![]() |
Then I must be doing something wrong. I have a CXTPTaskPanel with a couple of controls in it, and then a number of LinkItems. It lives in a CXTPDockingPane so I override PreTranslateMessage and call IsDialogMessage to get keyboard navigation between controls. I can tab between my controls, but not to any of the LinkItems.
|
|
![]() |
|
Sven ![]() Senior Member ![]() Joined: 21 August 2003 Location: Germany Status: Offline Points: 127 |
![]() ![]() ![]() ![]() ![]() |
I guess the keyboard navigation with PreTranslateMessage/IsDialogMessage conflicts with the internal CXTPTaskPanel navigation. Maybe Oleg can help here.
|
|
![]() |
|
aaxemen ![]() Newbie ![]() Joined: 29 September 2004 Status: Offline Points: 12 |
![]() ![]() ![]() ![]() ![]() |
I created the same problem with a simple dialog application that has a CXTPTaskPanel inside of it, along with the OK and Cancel buttons. Inside the taskPanel I have a group that contains an edit control and some other groups containing linkItems. If I create the taskPanel with the extended style WS_EX_CONTROLPARENT then the tabbing includes the dialogs buttons and the edit control. If I remove WS_EX_CONTROLPARENT then the tabbing includes the buttons and the items inside the taskPanel. How can I include both the edit control and the linkItems? -Jeff |
|
![]() |
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 |