TreeView Indent in Vista causes HitTest to fail - by ZachSaw

Status : 

  External<br /><br />
		This item may be valid but belongs to an external system out of the direct control of this product team.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.


0
0
Sign in
to vote
ID 352843 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 6/25/2008 1:06:35 AM
Access Restriction Public

Description

When the TreeView's indent property is set to something other than the default, the HitTest doesn't return the right result. Increase the indent value to say, 40, and you'll realise that the HitTest thinks that the plusminus (button in plain WinAPI jargon) is somewhat to the right of where the actual plusminus glyphs are drawn.

I've tried plain WinAPI TreeView_HitTest and it returned the same result, which leads me to think this is a miscalculation on Vista's part. TreeView_SetIndent doesn't actually indent the buttons, but Vista's calculation thinks the buttons are indented.

I've also recreated the TreeView control using plain WinAPI and found that the issue remains - leading me to conclude that this is fundamentally a Windows Vista bug. However, there's no way to submit a bug for Windows Vista and that MS Visual Studio is the main dev platform for Vista, it makes sense to submit the bug here.
Sign in to post a comment.
Posted by ZachSaw on 11/13/2010 at 2:23 AM
Also, forums.microsoft.com does NOT load. Is the URL even valid???
Posted by ZachSaw on 11/13/2010 at 2:22 AM
Why don't you redirect the bug over there yourself?
It's just dumb!!! Where do we submit a bug against Windows OS???

Forums direct me to Connect, and this product team is directing me back to the forum.
Awesome! Microsoft has become so big the left hand doesn't know what the right hand's doing!
Posted by Microsoft on 6/26/2008 at 1:51 AM
Unfortunately, we only accept feedback on Visual Studio & .Net Framework and related technologies through this site. For issues related to Vista, please use the Windows Vista Forums (http://forums.microsoft.com/MSDN/default.aspx?siteid=1&ForumGroupID=24&SiteID=1), the Windows Vista NewsGroups(http://windowshelp.microsoft.com/communities/newsgroups/en-us/default.mspx) or the Windows Vista Blog(http://windowsvistablog.com/Default.aspx).