Сообщение Re: Поведение фокуса в разных версиях comctl32.dll от 28.09.2018 15:13
Изменено 28.09.2018 15:17 Aniskin
V>Столкнулся с такой проблемой, не могу понять, куда копать.
Вот такое вычитал:
Yet another feature is a visual feedback of focus and accelerator keys in the dialog's appearance. Historically these were always shown. But since Windows XP, Microsoft has decided it may be disturbing for users who use mostly mouse and rarely use keyboard. So, Windows started to hide the focus rect and accelerator key mark by default, unless user starts to navigate by the keyboard. As an end user you may like it or dislike it, as a developer you should make the control to follow it. Users who do not like it, can then disable the hiding in Control Panels.
Если нужно какое то конкретное поведение, например, всегда отображать фокус, то можно после создания всех контролов самостоятельно послать окну WM_CHANGEUISTATE(UIS_CLEAR/UISF_HIDEFOCUS).
V>Столкнулся с такой проблемой, не могу понять, куда копать.
Вот такое вычитал:
Yet another feature is a visual feedback of focus and accelerator keys in the dialog's appearance. Historically these were always shown. But since Windows XP, Microsoft has decided it may be disturbing for users who use mostly mouse and rarely use keyboard. So, Windows started to hide the focus rect and accelerator key mark by default, unless user starts to navigate by the keyboard. As an end user you may like it or dislike it, as a developer you should make the control to follow it. Users who do not like it, can then disable the hiding in Control Panels.
Если нужно какое то конкретное поведение, например, всегда отображать фокус, то можно после создания всех контролов самостоятельно послать окну WM_CHANGEUISTATE(UIS_CLEAR/UISF_HIDEFOCUS).