无法在Windows7中隐藏组合框

无法在Windows7中隐藏组合框

本文介绍了无法在Windows7中隐藏组合框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我从CFileDialog派生了一个类,在此对话框中,我试图隐藏文件名组合框(GetParent()-> GetDlgItem(cmb13)-> ShowWindow(SW_HIDE);).这段代码在Windows XP中可以正常工作,但是我无法在Windows-7中隐藏组合框.

Hi, I have derived one class from CFileDialog, in this dialog i am trying to hide the file name combobox (GetParent()->GetDlgItem(cmb13)->ShowWindow(SW_HIDE);). This code works fine in windows-XP but i cant able to hide combobox in Windows-7.

推荐答案

HideControl( cmb13 );


这篇关于无法在Windows7中隐藏组合框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-23 09:17