Click here to Skip to main content
15,893,663 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: controlling wave output volume Pin
David Crow27-Oct-10 3:03
David Crow27-Oct-10 3:03 
AnswerRe: controlling wave output volume Pin
Chris Meech27-Oct-10 3:25
Chris Meech27-Oct-10 3:25 
GeneralRe: controlling wave output volume Pin
Danzy8327-Oct-10 3:44
Danzy8327-Oct-10 3:44 
AnswerRe: controlling wave output volume Pin
Sauro Viti27-Oct-10 3:53
professionalSauro Viti27-Oct-10 3:53 
GeneralRe: controlling wave output volume Pin
Danzy8327-Oct-10 3:58
Danzy8327-Oct-10 3:58 
GeneralRe: controlling wave output volume Pin
Code-o-mat27-Oct-10 4:25
Code-o-mat27-Oct-10 4:25 
QuestionHow can i use tab inside edit control Pin
learningvisualc27-Oct-10 0:33
learningvisualc27-Oct-10 0:33 
AnswerRe: How can i use tab inside edit control Pin
Sauro Viti27-Oct-10 0:48
professionalSauro Viti27-Oct-10 0:48 
QuestionPrint Preview in applications Pin
msr_codeproject27-Oct-10 0:01
msr_codeproject27-Oct-10 0:01 
AnswerRe: Print Preview in applications Pin
Richard MacCutchan27-Oct-10 2:40
mveRichard MacCutchan27-Oct-10 2:40 
QuestionHow to print only the current folder name in powershell Pin
melwyn26-Oct-10 23:43
melwyn26-Oct-10 23:43 
AnswerRe: How to print only the current folder name in powershell Pin
Sauro Viti27-Oct-10 0:16
professionalSauro Viti27-Oct-10 0:16 
QuestionHow to convert PDF to image file? example:jpg etc. Pin
illfar26-Oct-10 22:00
illfar26-Oct-10 22:00 
AnswerRe: How to convert PDF to image file? example:jpg etc. Pin
CPallini26-Oct-10 22:36
mveCPallini26-Oct-10 22:36 
QuestionCFileDialog Pin
MsmVc26-Oct-10 21:36
MsmVc26-Oct-10 21:36 
AnswerRe: CFileDialog Pin
CPallini26-Oct-10 21:55
mveCPallini26-Oct-10 21:55 
QuestionHow to reset the Combo Box to previous selection [modified] Pin
msr_codeproject26-Oct-10 19:36
msr_codeproject26-Oct-10 19:36 
Hi, I have a combo box in my application.

Whenever there is CB_SELCHANGE occurs, I need to perform some operation.
If the operation fails I need to reset the combo box to previous value.

My Trail:

Whenever there is a change in selection I am copying that item to a string variable (say str).
Now I am using CB_FINDSTRING to get the index using str by calling SendMessage. But it was not working.



I have confusion with LPARAM and WPARAM in SendMessage. Please give me the syntax of SendMessage
using CB_FINDSTRING.

Can you people throw me some idea?

Thanks in advance
msr

modified on Wednesday, October 27, 2010 1:43 AM

AnswerRe: How to reset the Combo Box to previous selection Pin
CPallini26-Oct-10 21:50
mveCPallini26-Oct-10 21:50 
GeneralRe: How to reset the Combo Box to previous selection Pin
msr_codeproject26-Oct-10 22:09
msr_codeproject26-Oct-10 22:09 
GeneralRe: How to reset the Combo Box to previous selection Pin
CPallini26-Oct-10 22:18
mveCPallini26-Oct-10 22:18 
QuestionError Heap in allocate modeless . Pin
HTT9026-Oct-10 7:32
HTT9026-Oct-10 7:32 
QuestionRe: Error Heap in allocate modeless . Pin
David Crow26-Oct-10 7:51
David Crow26-Oct-10 7:51 
AnswerRe: Error Heap in allocate modeless . Pin
CPallini26-Oct-10 9:30
mveCPallini26-Oct-10 9:30 
GeneralRe: Error Heap in allocate modeless . Pin
HTT9026-Oct-10 16:21
HTT9026-Oct-10 16:21 
GeneralRe: Error Heap in allocate modeless . Pin
CPallini26-Oct-10 21:21
mveCPallini26-Oct-10 21:21 

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.