Click here to Skip to main content
15,900,818 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: help Pin
philiptabraham1-Nov-07 3:32
philiptabraham1-Nov-07 3:32 
AnswerRe: help Pin
philiptabraham1-Nov-07 3:34
philiptabraham1-Nov-07 3:34 
GeneralRe: help Pin
chandu0041-Nov-07 3:41
chandu0041-Nov-07 3:41 
now i got your concept.
you mean, you are dealing the on edit change event of the combo box it self.
if so, do one thing.
1.first, before calling the query, preserve the string available in the combobox, in a temporarystring, by using getdlgitemtext().
2.then reset your content.
3.then call your query and upload them into the combo using addstring.
4.then using setdlgitemtext set the temporary string to the dialog.

but here, iam not sure about the cursor position. you have to check it out.

lets see if any body suggests a better technique.
GeneralRe: help Pin
philiptabraham1-Nov-07 3:55
philiptabraham1-Nov-07 3:55 
GeneralRe: help Pin
chandu0041-Nov-07 3:58
chandu0041-Nov-07 3:58 
Questionhow to add an backrground image in a form? Pin
panthal1-Nov-07 2:51
panthal1-Nov-07 2:51 
AnswerRe: how to add an backrground image in dialog? Pin
chandu0041-Nov-07 2:54
chandu0041-Nov-07 2:54 
AnswerRe: how to add an backrground image in a form? Pin
David Crow1-Nov-07 2:56
David Crow1-Nov-07 2:56 
AnswerRe: how to add an backrground image in a form? Pin
Hamid_RT1-Nov-07 5:56
Hamid_RT1-Nov-07 5:56 
Questionunable to scroll the dialog using the slider in the scrol bar Pin
chandu0041-Nov-07 2:21
chandu0041-Nov-07 2:21 
Questionhow can i get a usb drive's physical serial number? Pin
kcynic1-Nov-07 1:44
kcynic1-Nov-07 1:44 
AnswerRe: how can i get a usb drive's physical serial number? Pin
Nibu babu thomas1-Nov-07 3:31
Nibu babu thomas1-Nov-07 3:31 
QuestionHow to start Visual C++? Pin
xelontr1-Nov-07 1:28
xelontr1-Nov-07 1:28 
AnswerRe: How to start Visual C++? Pin
Hamid_RT1-Nov-07 1:59
Hamid_RT1-Nov-07 1:59 
AnswerRe: How to start Visual C++? Pin
David Crow1-Nov-07 2:52
David Crow1-Nov-07 2:52 
AnswerRe: How to start Visual C++? Pin
saravana0011-Nov-07 2:58
saravana0011-Nov-07 2:58 
AnswerRe: How to start Visual C++? Pin
chandu0041-Nov-07 3:18
chandu0041-Nov-07 3:18 
AnswerRe: How to start Visual C++? Pin
Nemanja Trifunovic1-Nov-07 3:36
Nemanja Trifunovic1-Nov-07 3:36 
AnswerRe: How to start Visual C++? Pin
jp-mocs1-Nov-07 7:13
jp-mocs1-Nov-07 7:13 
Questionproblem showing while i m making the dialog Pin
dobhal.mca1-Nov-07 0:50
dobhal.mca1-Nov-07 0:50 
AnswerRe: problem showing while i m making the dialog Pin
super_ttd1-Nov-07 1:10
super_ttd1-Nov-07 1:10 
AnswerRe: problem showing while i m making the dialog Pin
Hamid_RT1-Nov-07 1:20
Hamid_RT1-Nov-07 1:20 
QuestionRe: problem showing while i m making the dialog Pin
David Crow1-Nov-07 2:54
David Crow1-Nov-07 2:54 
Questionhow to cut a segment from an image? Pin
King Tran1-Nov-07 0:49
King Tran1-Nov-07 0:49 
AnswerRe: how to cut a segment from an image? Pin
Hamid_RT1-Nov-07 1:43
Hamid_RT1-Nov-07 1:43 

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.