Treeview 控件 (comctl32/VB5-era) 缺少图标 &字幕? [英] Treeview control (comctl32 / VB5-era) missing icons & captions?
问题描述
VB6 应用程序在 Windows 8 上运行良好,但有一个例外:
VB6 app works fine on Windows 8 with one exception:
用树视图显示表单.显示正确.单击显示用于输入的另一个表单的按钮.当新表单被关闭(并将新节点添加到树视图中)时,所有节点的图片都将不可见.显示 +/- 符号,但不显示图片和标题.
Display form with treeview. Displays correctly. Click button which displays another form used for entry. When the new form is dismissed (and a new node added to the treeview) all nodes' pictures and are invisible. The +/- signs display, but not the pictures and captions.
如果表单关闭然后重新打开,所有节点都会正确显示,直到打开另一个表单.
If the form is closed and then re-opened, all nodes are properly displayed until another form is opened.
所涉及的两个表单都是 MDI 子表单.
The two forms involved are both MDI child forms.
谢谢.
推荐答案
我刚刚在客户端机器上遇到了这个问题.不幸的是,我没有使用 VB6 (mscomctl.ocx) 控件重建的奢侈,根据之前的评论应该可以工作.
I just ran into this problem on a client machine. Unfortunately I didn't have the luxury of rebuilding using VB6 (mscomctl.ocx) controls, which according to the previous comment should work.
然而,如果您在 Windows 8 中禁用触摸屏键盘和手写面板"服务,comctl32.ocx TreeView 控件将正常工作.
However it turns out that if you disable the "Touchscreen keyboard and handwriting panel" service in Windows 8 the comctl32.ocx TreeView control will work properly.
这篇关于Treeview 控件 (comctl32/VB5-era) 缺少图标 &字幕?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!