Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Keyboard navigation between panes
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Keyboard navigation between panes

 Post Reply Post Reply
Author
Message
sekemp View Drop Down
Newbie
Newbie
Avatar

Joined: 28 March 2018
Location: Atlanta
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote sekemp Quote  Post ReplyReply Direct Link To This Post Topic: Keyboard navigation between panes
    Posted: 28 March 2018 at 4:27pm

Looking for a suggestion – or point to existing functionality that I’ve missed. We are a couple version behind in Toolkit, so upgrading to be current is a possibility.

What we would like is a keyboard (accessible) way for the user to conveniently navigate from one pane to a desired pane.

The application has multiple docking panes – some pinned, some un-pinned – some with tabs to additional content, some with splitters into sub-panes, etc.

See example picture here with a green dot on each pane that a user might choose. Some of these panes are always visible; some come and go depending upon what “document” is open.

 



Obviously, the user can click the mouse into the panes and then use arrow or tab to move up and down, left and right, or whatever depending upon what that pane content does. That’s not the problem.

With many businesses and governments now, you have to meet certain requirements for a person with a possible disability to use the product. Such requirements usually include the need to navigate without using the mouse.

My first thought was simply to have a hot-key (F-Key or control) to iterate through them one by one, but that seems cumbersome when there can be so many.

My second thought was that a hotkey would pop up a menu of open panes and allow the user to select that way. Or even to have the list maintained on a ribbon submenu – like the Windows/ Window List dropdown. Either of those requires some either having the panes register and deregister themselves or to use discovery to know what panes are open. The problem with the latter is that we may not have good names underneath that we would have to correct. (I don’t know off the top of my head.)

Another thought is to make something more visually interactive like the pane/drag assist you get when moving docking panes. Something that would simply highlight the panes one at a time and allow the user to hit enter to drop into that one.

 

Of course, desired is the ability to add this functionality without having to rewrite all the code!

So who has an idea or something you may have implemented yourself that you might share?

Thanks.

 

Back to Top
mweldon View Drop Down
Newbie
Newbie


Joined: 10 May 2018
Location: TX
Status: Offline
Points: 6
Post Options Post Options   Thanks (1) Thanks(1)   Quote mweldon Quote  Post ReplyReply Direct Link To This Post Posted: 10 May 2018 at 12:51pm
Keyboard navigation is enabled by calling     m_paneManager.EnableKeyboardNavigate(); in the frames ::OnCreate() method.

Ctrl-Tab pops this pane navigation dialog.

mweldon
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.