Click here to Skip to main content
16,012,508 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: about combo box Pin
happy_ram16-Jun-06 22:17
happy_ram16-Jun-06 22:17 
GeneralRe: about combo box Pin
Laxman Auti16-Jun-06 22:27
Laxman Auti16-Jun-06 22:27 
GeneralRe: about combo box Pin
_AnsHUMAN_ 16-Jun-06 22:35
_AnsHUMAN_ 16-Jun-06 22:35 
GeneralRe: about combo box Pin
happy_ram16-Jun-06 22:45
happy_ram16-Jun-06 22:45 
GeneralRe: about combo box Pin
Hamid_RT16-Jun-06 22:53
Hamid_RT16-Jun-06 22:53 
GeneralRe: about combo box Pin
happy_ram16-Jun-06 22:57
happy_ram16-Jun-06 22:57 
GeneralRe: about combo box Pin
ThatsAlok16-Jun-06 22:59
ThatsAlok16-Jun-06 22:59 
GeneralRe: about combo box [modified] Pin
_AnsHUMAN_ 16-Jun-06 23:01
_AnsHUMAN_ 16-Jun-06 23:01 
where are you opening the file for writing?
CFile file;
file.Open("c:\\abc.txt",CFile::modeCreate | CFile::modeReadWrite );
CString str;
str.Format ("%d",m_combobox.GetCurSel()); // The index starts from 0 in Combobox
file.Write(str,strlen(str));
file.Close();

// This code is not optimized
// Now read the value similarly and use m_combobox.SetCurSel() to set the text in the combo box related to the index

Somethings seem HARD to do, until we know how to do them.
Wink | ;-)
_AnShUmAn_


-- modified at 5:02 Saturday 17th June, 2006
GeneralRe: about combo box Pin
happy_ram16-Jun-06 23:27
happy_ram16-Jun-06 23:27 
GeneralRe: about combo box Pin
ThatsAlok16-Jun-06 23:19
ThatsAlok16-Jun-06 23:19 
GeneralRe: about combo box Pin
happy_ram16-Jun-06 23:25
happy_ram16-Jun-06 23:25 
GeneralRe: about combo box Pin
ThatsAlok16-Jun-06 23:47
ThatsAlok16-Jun-06 23:47 
GeneralRe: about combo box Pin
ThatsAlok16-Jun-06 22:24
ThatsAlok16-Jun-06 22:24 
QuestionRe: about combo box Pin
Hamid_RT16-Jun-06 22:00
Hamid_RT16-Jun-06 22:00 
Questionhow we can use MapWindowPoints Pin
happy_ram16-Jun-06 20:51
happy_ram16-Jun-06 20:51 
AnswerRe: how we can use MapWindowPoints Pin
_AnsHUMAN_ 16-Jun-06 20:58
_AnsHUMAN_ 16-Jun-06 20:58 
GeneralRe: how we can use MapWindowPoints Pin
tono1234531-Mar-21 2:21
tono1234531-Mar-21 2:21 
GeneralRe: how we can use MapWindowPoints Pin
Richard MacCutchan31-Mar-21 3:14
mveRichard MacCutchan31-Mar-21 3:14 
Questionhow we can initalize the CRect variable Pin
happy_ram16-Jun-06 20:41
happy_ram16-Jun-06 20:41 
AnswerRe: how we can initalize the CRect variable Pin
Naveen16-Jun-06 20:43
Naveen16-Jun-06 20:43 
GeneralRe: how we can initalize the CRect variable Pin
happy_ram16-Jun-06 20:44
happy_ram16-Jun-06 20:44 
AnswerRe: how we can initalize the CRect variable [modified] Pin
_AnsHUMAN_ 16-Jun-06 20:46
_AnsHUMAN_ 16-Jun-06 20:46 
AnswerRe: how we can initalize the CRect variable Pin
Laxman Auti16-Jun-06 20:56
Laxman Auti16-Jun-06 20:56 
Questiondelete query with Commandptr Pin
shuchigo_jane16-Jun-06 20:28
shuchigo_jane16-Jun-06 20:28 
Questionselect query with Commandptr Pin
shuchigo_jane16-Jun-06 20:24
shuchigo_jane16-Jun-06 20:24 

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.