Common Dialog Troubles

Ghost2
01-04-2005, 12:31 PM
I'm Trying to make a common dialog box that allows you select multiple files like you would in Windows Media Player or Microsoft Word. However, when I set the Cdl 'Flags' property to &H200 (or 512), the UI looks all vintage and windows 3.11'ish. How can I make it so that you can drag the mouse over the file icons just like word and WMP?

noi_max
01-04-2005, 12:54 PM
You can try this... although it is not thoroughly tested

.Flags = &H200 Or &H80000


How can I make it so that you can drag the mouse over the file icons just like word and WMP
Not sure about that last part... at least you can multi-select without the old school explorer.

Banjo
01-04-2005, 04:30 PM
Indeed, with the OFN_EXPLORER flag set you can use drag select.

noi_max
01-05-2005, 08:25 AM
Yeah, I guess I should probably be using the constants here...

Makes for clearer code.

.Flags = cdlOFNAllowMultiselect Or cdlOFNExplorer

Ghost2
01-05-2005, 10:27 AM
Bingo.
Thanks.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum