Print Page | Close Window

[SOLVED] CXTPTreeCtrl FullRow Focus

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=23267
Printed Date: 23 November 2024 at 7:24am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [SOLVED] CXTPTreeCtrl FullRow Focus
Posted By: cpede
Subject: [SOLVED] CXTPTreeCtrl FullRow Focus
Date 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 (24.0.0)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)



Replies:
Posted By: scottp
Date 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.


Posted By: agontarenko
Date Posted: 05 May 2017 at 3:44am
Hello,

I fixed issue when CXTPTreeCtrl draws focus rectange with TVS_FULLROWSELECT style

Regards,
Gontarenko Artem


Posted By: cpede
Date 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 (24.0.0)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)


Posted By: agontarenko
Date Posted: 06 May 2017 at 6:59am
Clipped expand arrows has been fixed too

Regards,
Gontarenko Artem


Posted By: cpede
Date Posted: 22 November 2017 at 3:44am
This is fixed in v18.2.0.

-cpede


-------------
Product: Xtreme ToolkitPro (24.0.0)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net