Link to home
Start Free TrialLog in
Avatar of elazabi
elazabi

asked on

customising cFileDialog

I want to customise a CFileDialog so that I can change the
appearance of the listbox containing the files. I want to make it look like in MS Word so that files can be displayed
either in a list with horizontal scrolling or with default
vertical scrolling. How can I access and change the dialog
controls?
ASKER CERTIFIED SOLUTION
Avatar of bobbym
bobbym

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of elazabi
elazabi

ASKER

actually I want to change the style of the  file listing ListBox to multicolumn and
I'm using Visual C++ 1.5 because my app runs on win 3.11. I managed to access the
list control by calling "GetDlgItem(lst1)" but I did not find any feature to change the style
to multicolumn. Any idea how to cahnge dialog control styles on run-time?
Well you may try the GetWindowLong and SetWindowLong to change the window style.