Click here to Skip to main content
15,909,953 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionUSB communication Pin
harsha_12349-Nov-06 22:20
harsha_12349-Nov-06 22:20 
AnswerRe: USB communication Pin
Rajesh R Subramanian9-Nov-06 23:55
professionalRajesh R Subramanian9-Nov-06 23:55 
QuestionHow to Highlight last selected string in Combo box? Pin
Shah Satish9-Nov-06 21:52
Shah Satish9-Nov-06 21:52 
AnswerRe: How to Highlight last selected string in Combo box? Pin
dharani9-Nov-06 21:56
dharani9-Nov-06 21:56 
GeneralRe: How to Highlight last selected string in Combo box? Pin
Shah Satish9-Nov-06 22:06
Shah Satish9-Nov-06 22:06 
GeneralRe: How to Highlight last selected string in Combo box? Pin
dharani9-Nov-06 22:21
dharani9-Nov-06 22:21 
GeneralRe: How to Highlight last selected string in Combo box? Pin
Shah Satish9-Nov-06 22:31
Shah Satish9-Nov-06 22:31 
GeneralRe: How to Highlight last selected string in Combo box? Pin
dharani9-Nov-06 23:00
dharani9-Nov-06 23:00 
Hi
Read the Default section of .ini file and get the string in CString or LPCTSTR = lpszStr;
Now implement the following in your OnInitDialog()

int lastselection = m_combo.FindString(0,lpszStr);
m_combo.SetCurSel(lastselection);


redindian

GeneralRe: How to Highlight last selected string in Combo box? Pin
dharani9-Nov-06 23:03
dharani9-Nov-06 23:03 
GeneralRe: How to Highlight last selected string in Combo box? Pin
Shah Satish9-Nov-06 23:35
Shah Satish9-Nov-06 23:35 
GeneralRe: How to Highlight last selected string in Combo box? Pin
Monty210-Nov-06 2:18
Monty210-Nov-06 2:18 
AnswerRe: How to Highlight last selected string in Combo box? Pin
Monty29-Nov-06 22:01
Monty29-Nov-06 22:01 
AnswerRe: How to Highlight last selected string in Combo box? Pin
David Crow10-Nov-06 3:19
David Crow10-Nov-06 3:19 
QuestionBMP resize Pin
sonali_dhali9-Nov-06 21:46
sonali_dhali9-Nov-06 21:46 
AnswerRe: BMP resize Pin
Monty29-Nov-06 21:58
Monty29-Nov-06 21:58 
AnswerRe: BMP resize Pin
Hamid_RT10-Nov-06 1:21
Hamid_RT10-Nov-06 1:21 
QuestionWM_CLOSE Message ? Pin
Sakthiu9-Nov-06 21:29
Sakthiu9-Nov-06 21:29 
AnswerRe: WM_CLOSE Message ? Pin
Mike_9999-Nov-06 21:31
Mike_9999-Nov-06 21:31 
AnswerRe: WM_CLOSE Message ? Pin
prasad_som9-Nov-06 21:39
prasad_som9-Nov-06 21:39 
AnswerRe: WM_CLOSE Message ? Pin
dharani9-Nov-06 21:42
dharani9-Nov-06 21:42 
AnswerRe: WM_CLOSE Message ? Pin
Hamid_RT10-Nov-06 1:31
Hamid_RT10-Nov-06 1:31 
QuestionHow to detect the socket was blocked? Pin
LaHaHa9-Nov-06 20:56
LaHaHa9-Nov-06 20:56 
AnswerRe: How to detect the socket was blocked? Pin
Moak18-Dec-06 5:42
Moak18-Dec-06 5:42 
QuestionFinding number of occurences in a list of numbers Pin
Jay039-Nov-06 19:57
Jay039-Nov-06 19:57 
AnswerRe: Finding number of occurences in a list of numbers Pin
XtremDev9-Nov-06 20:28
XtremDev9-Nov-06 20:28 

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.