Print Page | Close Window

Tree control disables when Windows version changes

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=22070
Printed Date: 24 November 2024 at 7:53am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Tree control disables when Windows version changes
Posted By: KQS
Subject: Tree control disables when Windows version changes
Date Posted: 25 November 2013 at 11:24am
When Windows 7 was released, the tree control stopped working, and the same happened when Windows 8 was released. It's as if the tree control is hard-coded to not work when Windows updates. Seems like an underhand way to get people to update to newer versions of the toolkit.

For example, on Windows 8 the tree items are visible but greyed out...



Replies:
Posted By: KQS
Date Posted: 25 November 2013 at 6:32pm
Just to clarify, the latest tree control works fine on Windows 8/8.1, but older versions have the problem shown in the screenshot.

The thing that annoys me is that it seems like the tree control (and maybe others) are coded to stop working one some newer Windows versions, to get people to upgrade to latest version of the Toolkit.


Posted By: Willowmaster
Date Posted: 27 November 2013 at 3:56am
Do you have VisualStyle enabled? Maybe the visual styles are not compatible with Windows 8 for older CodeJock versions.
 
I tried the Suite Controls Sample, but it doesn't show the problem you are talking about. Did you change the foreground color to a system color?


-------------
Product: Xtreme SuitePro (ActiveX) version 15.3.1

Platform: Windows XP (32bit) - SP 3 (on VMWare)

Language: Visual Basic 6.0





Posted By: KQS
Date Posted: 30 June 2014 at 3:01pm
I am not the developer of Ultra Recall (which uses the tree control) but just a user, so don't have access to the source code. UR does alllow you to change the style of the menus/controls, so I guess it must have VisualStyle enabled (if that's what it means)

I had a thought that I could use a Window Spy type program to inspect the the tree control properties/styles and modify it if it was disabled.

I came across a CodeProject article where someone had written an enhanced version of the Microsoft Spy++ tool, zero Dump, which allowed property/style modification as well as inspection:

http://www.codeproject.com/Articles/9549/Capturing-Window-Controls-and-Modifying-their-prop" rel="nofollow - http://www.codeproject.com/Articles/9549/Capturing-Window-Controls-and-Modifying-their-prop

When I used zero Dump to inspect the tree control, it had the WS_DISABLED style set, so I unset this style and the tree control was enabled and seemed to work fine.

The author of Ultra Recall says it's the tree control that disabled itself, which makes me wonder why, particularly as it seems to work fine on Windows 8.1.1 ?



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