Click here to Skip to main content
15,885,767 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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.
Posted

1 solution

you can use the function HideControl(), provided the cmb13 has the exact control ID value of the file name combo.
C++
HideControl( cmb13 );
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900