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

C / C++ / MFC

 
GeneralReBars (urgent) Pin
Space Ace12-Aug-02 2:55
Space Ace12-Aug-02 2:55 
GeneralRe: ReBars (urgent) Pin
Tomasz Sowinski12-Aug-02 3:02
Tomasz Sowinski12-Aug-02 3:02 
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 
Hello:
I need help with Combo boxes. I have a combo box in a dialog and I want to fill the combo box with some filenames of a specified directory. Then, after filling the combo box, I'm disabling it (it can be enable by a check box in the same dialog). The program complies and runs, and when I load the dialog with the combo box, when I click the check box to enable the combo box, there is nothing in it. This is the code snipet that I have in the ::OnInitDialog() event:

::SetCurrentDirectory(_T("C:\\sounds"));
m_cbo.ResetContent();
m_cbo.Dir(DDL_DIRECTORY,_T("*.wav"));
m_cbo.EnableWindow(FALSE);

Is there something that I'm missing inthe combo box? What can I do to solve this? Any answer is more than welcome.

Best regards,


Luis E. Cuadrado
Blush | :O )
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 
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 

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.