Click here to Skip to main content
15,894,630 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: c++ objects, I don't get it - IIS ADSI object Pin
Jim Crafton22-Sep-11 4:27
Jim Crafton22-Sep-11 4:27 
GeneralRe: c++ objects, I don't get it - IIS ADSI object Pin
jkirkerx22-Sep-11 6:17
professionaljkirkerx22-Sep-11 6:17 
GeneralRe: c++ objects, I don't get it - IIS ADSI object Pin
Jim Crafton22-Sep-11 6:24
Jim Crafton22-Sep-11 6:24 
GeneralRe: c++ objects, I don't get it - IIS ADSI object Pin
jkirkerx22-Sep-11 6:52
professionaljkirkerx22-Sep-11 6:52 
Questionlanguage problem in C .. Pin
gateway2321-Sep-11 0:52
gateway2321-Sep-11 0:52 
AnswerRe: language problem in C .. Pin
Stefan_Lang21-Sep-11 1:39
Stefan_Lang21-Sep-11 1:39 
AnswerRe: IsTextUnicode function Pin
Software_Developer21-Sep-11 7:31
Software_Developer21-Sep-11 7:31 
QuestionCombob box get hide at mouse release Pin
Amrit Agr21-Sep-11 0:15
Amrit Agr21-Sep-11 0:15 
Hi Dveleopers,
I have some problem regarding combo-box control. In one situation it give the list properly and in the other one it appears till the mouse is hold after that it get hides. If we click on arrow part of combo box it behaves properly, but if we click on the text part it give the list while mouse is in hold after that it get hide.

In 1st condition I have added almost 15 items and in other situation almost 500 items is being added.
The only difference between these items is that 1st one is CString and the 2nd one is char*.
Here the sel change of another combo based on that combo box ""m_chap"" ( in which I have problem is being populated ). pFnameMap is a structure and pFnameMap->fullName is a char*.

CString	szTemp;
m_nUserType = m_Rep.GetCurSel();

m_Chap.ResetContent();
if(m_nUserType != LB_ERR)
{
    m_Rep.GetLBText(m_nUserType, szTemp);
 
    if (szTemp.Find("Materia") >= 0)
    {
        FNAMEMAP1 *pFnameMap = NULL;
   
        for( int i=0;i& heApp.m_ChapterNameMap.GetCount();i++)
	{
	   if(APP->m_ChapterNameMap.Lookup((WORD)i,(void    near *&)pFnameMap))
	   {
	      if(stricmp(pFnameMap->repName, "Complete")==0)
	      {
		m_Chap.AddString(pFnameMap->fullName);
	      }
	   }
	 }
     }
     else
     {
	szQuery =  "Repertory = '" + szTemp + "'";
	m_pRsRepChaps->SetFilter(szQuery);
	while(!m_pRsRepChaps->IsEOF())
	{
	   m_pRsRepChaps->GetFieldValue("Chapter", szTemp);
	   if(m_Chap.FindStringExact(-1, szTemp)==LB_ERR)
	   {
	      m_Chap.AddString(szTemp);
	   }
	   m_pRsRepChaps->MoveNext();
	}
     }		
}

Combo box style is dropdown.

Thanks in advance.
Amrit Agrawal
Software Developer

AnswerRe: Combob box get hide at mouse release Pin
Code-o-mat21-Sep-11 9:04
Code-o-mat21-Sep-11 9:04 
QuestionMemory Leak Pin
Tal Rasha's Guardianship20-Sep-11 17:38
Tal Rasha's Guardianship20-Sep-11 17:38 
AnswerRe: Memory Leak Pin
Stefan_Lang20-Sep-11 23:28
Stefan_Lang20-Sep-11 23:28 
AnswerRe: calculate virtual address space Pin
Software_Developer21-Sep-11 10:10
Software_Developer21-Sep-11 10:10 
AnswerRe: Memory Leak Pin
Member 441644522-Sep-11 5:23
Member 441644522-Sep-11 5:23 
QuestionUse AfxParseURLEx ? Pin
bosfan20-Sep-11 2:53
bosfan20-Sep-11 2:53 
QuestionRe: Use AfxParseURLEx ? Pin
David Crow20-Sep-11 9:18
David Crow20-Sep-11 9:18 
AnswerRe: Use AfxParseURLEx ? Pin
bosfan20-Sep-11 20:32
bosfan20-Sep-11 20:32 
GeneralRe: Use AfxParseURLEx ? Pin
XTAL25620-Sep-11 20:41
XTAL25620-Sep-11 20:41 
QuestionCOM DLL Reg Pin
john563220-Sep-11 1:38
john563220-Sep-11 1:38 
AnswerRe: COM DLL Reg Pin
Rajesh R Subramanian20-Sep-11 2:21
professionalRajesh R Subramanian20-Sep-11 2:21 
AnswerRe: COM DLL Reg Pin
Erudite_Eric20-Sep-11 22:20
Erudite_Eric20-Sep-11 22:20 
Questionhow to move mouse? Pin
catokat19-Sep-11 16:38
catokat19-Sep-11 16:38 
AnswerRe: how to move mouse? Pin
Rajesh R Subramanian19-Sep-11 18:46
professionalRajesh R Subramanian19-Sep-11 18:46 
Questionhow to get exact number of bytes accessible in RAM for a 32 Bit app? Pin
Divya Rathore19-Sep-11 7:06
Divya Rathore19-Sep-11 7:06 
AnswerRe: how to get exact number of bytes accessible in RAM for a 32 Bit app? Pin
Code-o-mat19-Sep-11 7:45
Code-o-mat19-Sep-11 7:45 
AnswerRe: how to get exact number of bytes accessible in RAM for a 32 Bit app? Pin
Randor 19-Sep-11 20:11
professional Randor 19-Sep-11 20:11 

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.