Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Controls
  New Posts New Posts RSS Feed - [SOLVED] CXTPTreeCtrl FullRow Focus
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[SOLVED] CXTPTreeCtrl FullRow Focus

 Post Reply Post Reply
Author
Message
cpede View Drop Down
Senior Member
Senior Member


Joined: 13 August 2004
Location: Denmark
Status: Offline
Points: 645
Post Options Post Options   Thanks (0) Thanks(0)   Quote cpede Quote  Post ReplyReply Direct Link To This Post Topic: [SOLVED] CXTPTreeCtrl FullRow Focus
    Posted: 10 February 2017 at 8:01am
When setting the TVS_FULLROWSELECT stuyle on a CXTPTreeView control you get a visible focus frame around the text.

case themeVS2010:
m_wndClassView.SetTheme(xtpControlThemeVisualStudio2010);
m_wndClassView.ModifyStyle(TVS_HASLINES, 0);
m_wndClassView.ModifyStyle(TVS_LINESATROOT, 0);
m_wndClassView.ModifyStyle(0, TVS_FULLROWSELECT);



That is wrong, please fix.

-cpede
Product: Xtreme ToolkitPro (20.3.0)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)
Back to Top
scottp View Drop Down
Groupie
Groupie


Joined: 16 October 2006
Status: Offline
Points: 59
Post Options Post Options   Thanks (0) Thanks(0)   Quote scottp Quote  Post ReplyReply Direct Link To This Post Posted: 15 February 2017 at 2:26am
There is also a problem that the full row can only be selected by clicking on the icon or item text, but not in the whitespace to the left or right of the item. So the user can see the full row highlight, but can only click on a small part of the row to select it - especially frustrating when the item text is short.

This is different behaviour than in the VS class tree as well.
Back to Top
agontarenko View Drop Down
Admin Group
Admin Group


Joined: 25 March 2016
Status: Offline
Points: 260
Post Options Post Options   Thanks (0) Thanks(0)   Quote agontarenko Quote  Post ReplyReply Direct Link To This Post Posted: 05 May 2017 at 3:44am
Hello,

I fixed issue when CXTPTreeCtrl draws focus rectange with TVS_FULLROWSELECT style

Regards,
Gontarenko Artem
Back to Top
cpede View Drop Down
Senior Member
Senior Member


Joined: 13 August 2004
Location: Denmark
Status: Offline
Points: 645
Post Options Post Options   Thanks (0) Thanks(0)   Quote cpede Quote  Post ReplyReply Direct Link To This Post Posted: 06 May 2017 at 3:56am
And also the clipped expand arrows (see image in original post) when xtpControlThemeVisualStudio2010 is selected?

-cpede
Product: Xtreme ToolkitPro (20.3.0)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)
Back to Top
agontarenko View Drop Down
Admin Group
Admin Group


Joined: 25 March 2016
Status: Offline
Points: 260
Post Options Post Options   Thanks (0) Thanks(0)   Quote agontarenko Quote  Post ReplyReply Direct Link To This Post Posted: 06 May 2017 at 6:59am
Clipped expand arrows has been fixed too

Regards,
Gontarenko Artem
Back to Top
cpede View Drop Down
Senior Member
Senior Member


Joined: 13 August 2004
Location: Denmark
Status: Offline
Points: 645
Post Options Post Options   Thanks (0) Thanks(0)   Quote cpede Quote  Post ReplyReply Direct Link To This Post Posted: 22 November 2017 at 3:44am
This is fixed in v18.2.0.

-cpede
Product: Xtreme ToolkitPro (20.3.0)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)
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.