Click here to Skip to main content
15,895,799 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Image Matrix Pin
chandu00429-Jun-10 2:54
chandu00429-Jun-10 2:54 
GeneralRe: Image Matrix Pin
Harish Makaram29-Jun-10 3:21
Harish Makaram29-Jun-10 3:21 
GeneralRe: Image Matrix Pin
chandu00429-Jun-10 4:14
chandu00429-Jun-10 4:14 
GeneralRe: Image Matrix Pin
chandu00429-Jun-10 16:22
chandu00429-Jun-10 16:22 
QuestionRedrawWindow + ListControl Pin
MsmVc28-Jun-10 1:21
MsmVc28-Jun-10 1:21 
AnswerRe: RedrawWindow + ListControl Pin
Niklas L28-Jun-10 1:34
Niklas L28-Jun-10 1:34 
AnswerRe: RedrawWindow + ListControl Pin
Mohan Ramachandra28-Jun-10 2:56
Mohan Ramachandra28-Jun-10 2:56 
QuestionReply for ComboBox Sorting Alphabetically Pin
raju_shiva27-Jun-10 23:40
raju_shiva27-Jun-10 23:40 
Hi sir,
Thanks for all your help.I have found the solution.
I am reading all the character from combo and storing it in map.
then i am reading the character from combo and Find() in given whole map.
I am tryig this code
CString strValue;
CString strTemp;
m_CtrlComboID.GetWindowText(strValue);	
std::map<CString,CString>::iterator it=m_mapId.begin();    
m_CtrlComboID.ResetContent();	
for(; it!=m_mapId.end(); it++)
{		
 strTemp = it->first;		
 strValue.MakeUpper();		
 if(strTemp.Find(strValue)==0)		
 m_PatientID.AddString(strTemp);	
}	
m_CtrlComboID.SetWindowText(strValue);	
m_CtrlComboID.ShowDropDown()

the problem i am facing is,
1)The first string is getting set in the ComboBox.
2)when i type the first character in combo,it is getting the strings
related to the first character.
but i am not able to type in the second character,as the cursor is going in the first position.
The character which i have typed later is going first.
For Ex: First i will type the character as "P",
Second if i type "A" character in combo,its going before "P"
i.e "AP",but i need as "PA".
I am bit confused,
any suggestions


Thanks
Raj
AnswerRe: Reply for ComboBox Sorting Alphabetically Pin
Niklas L28-Jun-10 1:03
Niklas L28-Jun-10 1:03 
GeneralRe: Reply for ComboBox Sorting Alphabetically [modified] Pin
raju_shiva28-Jun-10 18:10
raju_shiva28-Jun-10 18:10 
QuestionFullScrean listbox Pin
aangerma27-Jun-10 22:34
aangerma27-Jun-10 22:34 
AnswerRe: FullScrean listbox Pin
Mohan Ramachandra27-Jun-10 22:48
Mohan Ramachandra27-Jun-10 22:48 
GeneralRe: FullScrean listbox Pin
aangerma27-Jun-10 23:21
aangerma27-Jun-10 23:21 
GeneralRe: FullScrean listbox Pin
Mohan Ramachandra28-Jun-10 1:25
Mohan Ramachandra28-Jun-10 1:25 
AnswerRe: FullScrean listbox Pin
Niklas L27-Jun-10 22:49
Niklas L27-Jun-10 22:49 
GeneralRe: FullScrean listbox Pin
aangerma28-Jun-10 1:24
aangerma28-Jun-10 1:24 
GeneralRe: FullScrean listbox Pin
Niklas L28-Jun-10 1:36
Niklas L28-Jun-10 1:36 
GeneralRe: FullScrean listbox Pin
aangerma28-Jun-10 1:42
aangerma28-Jun-10 1:42 
GeneralRe: FullScrean listbox Pin
Niklas L28-Jun-10 1:52
Niklas L28-Jun-10 1:52 
GeneralRe: FullScrean listbox Pin
aangerma28-Jun-10 2:08
aangerma28-Jun-10 2:08 
GeneralRe: FullScrean listbox Pin
Niklas L28-Jun-10 2:14
Niklas L28-Jun-10 2:14 
GeneralRe: FullScrean listbox Pin
aangerma28-Jun-10 19:42
aangerma28-Jun-10 19:42 
AnswerRe: FullScrean listbox Pin
Member 419459328-Jun-10 7:03
Member 419459328-Jun-10 7:03 
QuestionDislplaying bitmap image on the screen when raw bitmap data is available in memory? (WIN32) Pin
yeswekey27-Jun-10 21:26
yeswekey27-Jun-10 21:26 
AnswerRe: Dislplaying bitmap image on the screen when raw bitmap data is available in memory? (WIN32) Pin
Niklas L27-Jun-10 21:41
Niklas L27-Jun-10 21:41 

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.