[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Blind and visually impaired developers.

From: Serge Tumanyan <tumanyan_at_mail.ru>
Date: Fri, 11 Dec 2009 02:35:20 +0300

Stefan,

>>>> 2. The next in tab order repository byutton ControlID = 1035,
>>> Since that button doesn't have a text, I don't know how to add an
>>> accelerator key there.
>>>> 3. The next Repository button in the bab order with the ControlID =
>>>> 1036,
>>> same here.
>> There can be two methods:
>> 1. Bad one - since hardly localizeable - using the
>> CreateAcceleratorTable,
>> DestroyAcceleratorTable - by this method the accelerators are hard coded
>> inside the application.
>> 2. The LoadAccelerators function that loads the accelerators from the
>> resource attached to the Instance provided as the parameter - it is much
>> better then option 1.
> The accelerator table is globally and used for commands only. It can't
> be used for selecting controls - unless of course we implement a
> separate command for each control and set the focus to that control in
> its command handler. But that would be a *lot* of work and would clutter
> the code a lot.

BTW, I have tryed to investigate a bit and I have seen that you are using
the '...' label for that button, aren't you? Or is it simply a graphic label
that My screen reader can not understand correctly? And you are using the
'Repository' tooltip for that buttons aren't you?

If the button is self-drawn that is generated with the BS_OWNERDRAW style
you can provide any label for that button you want since the user will never
see it and I suppose that the accelerator key assigned to that label will
work. This should be checked of course, but may be it is the way...

Thank you.

Serge.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2429619

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-12-11 03:31:40 CET

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.