I am having a problem getting my combo box to drop down in Visual C++ here is the code.
The program compiles with no errors or warnings and doesn't have any runtime errors once running, but when I click on the appropriate combo box basically nothing happens, could someone please tell me what I am doing wrong.Code:void CBensVisTestDlg::OnDropdownCombo1() { CRect pos; pos.top = 0; pos.left = 0; pos.right = 100; pos.bottom = 250; CComboBox getFile; CComboBox(); getFile.Create(CBS_DROPDOWNLIST | WS_VISIBLE | WS_CHILD, pos, this, IDC_COMBO1); getFile.Dir(DDL_DRIVES, "C:*.*"); // TODO: Add your control notification handler code here }
Thanks in advance.
Ben.



LinkBack URL
About LinkBacks


