Click here to Skip to main content
15,921,793 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionchecking first char of a string?? Pin
2-Feb-02 5:11
suss2-Feb-02 5:11 
AnswerRe: checking first char of a string?? Pin
valikac2-Feb-02 5:37
valikac2-Feb-02 5:37 
AnswerRe: checking first char of a string?? Pin
Jay Beckert2-Feb-02 6:48
Jay Beckert2-Feb-02 6:48 
GeneralC2653 Pin
2-Feb-02 4:21
suss2-Feb-02 4:21 
GeneralGOT IT FIXED Pin
2-Feb-02 4:25
suss2-Feb-02 4:25 
GeneralDisplaying drop down ComboBox Pin
athick2-Feb-02 3:40
athick2-Feb-02 3:40 
GeneralRe: Displaying drop down ComboBox Pin
Shog92-Feb-02 15:19
sitebuilderShog92-Feb-02 15:19 
GeneralRe: Displaying drop down ComboBox Pin
athick2-Feb-02 19:42
athick2-Feb-02 19:42 
CString *temp1 = new CString("");
LPTSTR str1 = temp1->GetBuffer(temp1->GetLength());
int ret=this->DlgDirListComboBox(str1,IDC_DIRCOMBO,0,DDL_DRIVES);
if(ret==0)
{
DWORD i=::GetLastError();
}
int n=m_list1.GetCount();
//m_combo.SetCurSel(1); //default data is not displayed in comboBox is this is not done.
ret=m_combo.GetLBTextLen(1);
m_combo.GetLBText(1,m_list);
m_list.Delete(0,2);
m_list.Delete(1,2);
ret = m_list.GetLength();
m_list+=":\\";
str1 = m_list.GetBuffer(m_list.GetLength());
ret=this->DlgDirList(str1,IDC_LIST1,0,DDL_EXCLUSIVE|DDL_DIRECTORY);
if(ret==0)
{
DWORD i=::GetLastError();
}
//LPCTSTR t = m_list;
//m_list1.AddString(t);
m_list1.SetCurSel(0);
n=m_list1.GetCount();
Invalidate();
m_list.ReleaseBuffer();
temp1->ReleaseBuffer();
delete temp1;

this is how i generate data in ComboBox

For the ComboBox the properties are Style 1.type = "dropdown" 2.Owner draw = " no".......the dropdown list doesnot display

can u helpConfused | :confused:
QuestionVC 6.0 in WinXP? Pin
Joel Holdsworth2-Feb-02 3:44
Joel Holdsworth2-Feb-02 3:44 
AnswerRe: VC 6.0 in WinXP? Pin
Michael P Butler2-Feb-02 4:05
Michael P Butler2-Feb-02 4:05 
GeneralAh SP5 Pin
Joel Holdsworth2-Feb-02 4:20
Joel Holdsworth2-Feb-02 4:20 
GeneralPassing CArray to function Pin
User 267402-Feb-02 2:57
professionalUser 267402-Feb-02 2:57 
GeneralRe: Passing CArray to function Pin
Joel Holdsworth2-Feb-02 3:48
Joel Holdsworth2-Feb-02 3:48 
GeneralMSN Messenger style alert windows Pin
tinsleyphone1-Feb-02 23:32
tinsleyphone1-Feb-02 23:32 
GeneralRe: MSN Messenger style alert windows Pin
tinsleyphone1-Feb-02 23:37
tinsleyphone1-Feb-02 23:37 
QuestionThe Function of check if the CD-ROM's door opened or closed? Pin
Love In Snowing1-Feb-02 20:41
Love In Snowing1-Feb-02 20:41 
AnswerRe: The Function of check if the CD-ROM's door opened or closed? Pin
Wolfram Steinke1-Feb-02 23:46
Wolfram Steinke1-Feb-02 23:46 
GeneralSetting HREF from ATL Pin
1-Feb-02 20:17
suss1-Feb-02 20:17 
GeneralRefreshing problem.. Pin
Neha1-Feb-02 19:04
Neha1-Feb-02 19:04 
GeneralRe: Refreshing problem.. Pin
Wolfram Steinke1-Feb-02 23:39
Wolfram Steinke1-Feb-02 23:39 
GeneralRe: Refreshing problem.. Pin
Neha2-Feb-02 1:46
Neha2-Feb-02 1:46 
GeneralRe: Refreshing problem.. Pin
Wolfram Steinke2-Feb-02 11:52
Wolfram Steinke2-Feb-02 11:52 
GeneralKinda New at this Pin
1-Feb-02 17:17
suss1-Feb-02 17:17 
GeneralRe: Kinda New at this Pin
Rick York1-Feb-02 18:06
mveRick York1-Feb-02 18:06 
QuestionIs it possible to use multiple CDC's?? Pin
Jay Beckert1-Feb-02 17:18
Jay Beckert1-Feb-02 17:18 

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.