Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Controls
  New Posts New Posts RSS Feed - BUG: TreeCtrl icons with multi-byte chars
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

BUG: TreeCtrl icons with multi-byte chars

 Post Reply Post Reply
Author
Message
eam74 View Drop Down
Groupie
Groupie
Avatar

Joined: 18 June 2014
Location: USA
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote eam74 Quote  Post ReplyReply Direct Link To This Post Topic: BUG: TreeCtrl icons with multi-byte chars
    Posted: 15 July 2014 at 12:46pm
I think I have found a bug in the Tree Control.  I had to switch a project from using unicode to multi-byte characters, and not treating wchar_t as a built-in type, due to other dependencies.  (Both options have to be changed in conjunction to compile so I'm not sure if one or the other is the main issue.)  I am using a Tree Control with four icons, a set each for nodes and leaves.

Before, the tree looked like this:


After changing these options (no code changes!), the tree now looks like this:


Is there any fix available?
Xtreme ToolkitPro (C++) v16.1.0, Windows 7
Back to Top
eam74 View Drop Down
Groupie
Groupie
Avatar

Joined: 18 June 2014
Location: USA
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote eam74 Quote  Post ReplyReply Direct Link To This Post Posted: 08 August 2014 at 9:50am
Since I didn't need anything specific to the Codejock control for this case, I have switched to a CTreeCtrl and everything (including lines!) works properly now.
Xtreme ToolkitPro (C++) v16.1.0, Windows 7
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.172 seconds.