Click here to Skip to main content
15,916,293 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ReBars (urgent) Pin
Shog912-Aug-02 3:07
sitebuilderShog912-Aug-02 3:07 
GeneralRe: ReBars (urgent) Pin
Space Ace12-Aug-02 3:26
Space Ace12-Aug-02 3:26 
GeneralRe: ReBars (urgent) Pin
Shog912-Aug-02 7:25
sitebuilderShog912-Aug-02 7:25 
GeneralRe: ReBars (urgent) Pin
Space Ace12-Aug-02 9:27
Space Ace12-Aug-02 9:27 
GeneralRe: ReBars (urgent) Pin
Space Ace12-Aug-02 7:05
Space Ace12-Aug-02 7:05 
GeneralHelp with Combo boxes Pin
Luis E. Cuadrado12-Aug-02 2:18
Luis E. Cuadrado12-Aug-02 2:18 
GeneralRe: Help with Combo boxes Pin
Tomasz Sowinski12-Aug-02 2:39
Tomasz Sowinski12-Aug-02 2:39 
GeneralRe: Help with Combo boxes Pin
Mike Upton12-Aug-02 2:41
Mike Upton12-Aug-02 2:41 
I've just looked at the sample code in the MSDN documentation, and it looks like you might need the DDL_READWRITE flag as well as the DDL_DIRECTORY flag:
m_cbo.Dir(DDL_READWRITE | DDL_DIRECTORY, _T("*.wav"));
I could be wrong though, I've never used CComboBox::Dir.

If it still doesn't work, it might be worth checking the return value of the Dir function - it should be a positive value if everything's worked okay. If it returns zero, that means no files were added. A negative value indicates an error.



"We are the knights who say Ni" (The Knights Who Say Ni)
GeneralRe: Help with Combo boxes Pin
Luis E. Cuadrado12-Aug-02 4:25
Luis E. Cuadrado12-Aug-02 4:25 
GeneralRe: Help with Combo boxes Pin
Tomasz Sowinski12-Aug-02 4:45
Tomasz Sowinski12-Aug-02 4:45 
GeneralCWnd::FromHandlePermanent Pin
Nish Nishant12-Aug-02 1:39
sitebuilderNish Nishant12-Aug-02 1:39 
GeneralRe: CWnd::FromHandlePermanent Pin
Tomasz Sowinski12-Aug-02 1:52
Tomasz Sowinski12-Aug-02 1:52 
GeneralRe: CWnd::FromHandlePermanent Pin
Neville Franks12-Aug-02 1:58
Neville Franks12-Aug-02 1:58 
GeneralBeginners owner draw button Pin
Trollslayer12-Aug-02 1:38
mentorTrollslayer12-Aug-02 1:38 
GeneralRe: Beginners owner draw button Pin
Space Ace12-Aug-02 2:59
Space Ace12-Aug-02 2:59 
GeneralRe: Beginners owner draw button Pin
Shog912-Aug-02 7:29
sitebuilderShog912-Aug-02 7:29 
GeneralVARIANT and CString Pin
Mazdak12-Aug-02 0:55
Mazdak12-Aug-02 0:55 
GeneralRe: VARIANT and CString Pin
DanielO12-Aug-02 1:16
DanielO12-Aug-02 1:16 
GeneralRe: VARIANT and CString Pin
Mazdak12-Aug-02 1:27
Mazdak12-Aug-02 1:27 
GeneralRe: VARIANT and CString Pin
Shamoon12-Aug-02 1:34
Shamoon12-Aug-02 1:34 
GeneralRe: VARIANT and CString Pin
Stefan Pedersen12-Aug-02 3:25
Stefan Pedersen12-Aug-02 3:25 
GeneralRe: VARIANT and CString Pin
Daniel Turini12-Aug-02 8:24
Daniel Turini12-Aug-02 8:24 
GeneralUser-defined parameter and WH_CBT hook! Pin
Nish Nishant12-Aug-02 0:52
sitebuilderNish Nishant12-Aug-02 0:52 
GeneralRe: User-defined parameter and WH_CBT hook! Pin
Tomasz Sowinski12-Aug-02 1:04
Tomasz Sowinski12-Aug-02 1:04 
GeneralRe: User-defined parameter and WH_CBT hook! Pin
Nish Nishant12-Aug-02 1:25
sitebuilderNish Nishant12-Aug-02 1:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.