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

C / C++ / MFC

 
GeneralRe: Getting the Combo Box selected item using Win32 API. Pin
Suresh H16-Jan-07 20:20
Suresh H16-Jan-07 20:20 
GeneralRe: Getting the Combo Box selected item using Win32 API. Pin
Hamid_RT16-Jan-07 20:32
Hamid_RT16-Jan-07 20:32 
GeneralRe: Getting the Combo Box selected item using Win32 API. Pin
prasad_som16-Jan-07 20:21
prasad_som16-Jan-07 20:21 
GeneralRe: Getting the Combo Box selected item using Win32 API. Pin
Hamid_RT16-Jan-07 20:30
Hamid_RT16-Jan-07 20:30 
QuestionRe: Getting the Combo Box selected item using Win32 API. Pin
prasad_som16-Jan-07 20:35
prasad_som16-Jan-07 20:35 
AnswerRe: Getting the Combo Box selected item using Win32 API. Pin
Hamid_RT16-Jan-07 20:42
Hamid_RT16-Jan-07 20:42 
QuestionRe: Getting the Combo Box selected item using Win32 API. Pin
prasad_som16-Jan-07 20:44
prasad_som16-Jan-07 20:44 
GeneralRe: Getting the Combo Box selected item using Win32 API. Pin
Suresh H16-Jan-07 20:14
Suresh H16-Jan-07 20:14 
Thanks Prasad Code is working.

Thanks for taking some time for me and helping me.

In yr code 1st line was enough for me

int nIndx =::SendMessage(hCombo,CB_GETCURSEL,0,0);


since in the combo box I have values from 0,1,2,3,4,5 and so on …
so as I get the Index number value will be the same as the CB content.
I did not know about the CB index. Thank you very much.Smile | :)
AnswerRe: Getting the Combo Box selected item using Win32 API. Pin
prasad_som16-Jan-07 20:23
prasad_som16-Jan-07 20:23 
GeneralRe: Getting the Combo Box selected item using Win32 API. Pin
Suresh H16-Jan-07 20:30
Suresh H16-Jan-07 20:30 
AnswerBad Style! Pin
jhwurmbach16-Jan-07 22:33
jhwurmbach16-Jan-07 22:33 
AnswerRe: Bad Style! Pin
prasad_som17-Jan-07 1:47
prasad_som17-Jan-07 1:47 
GeneralRe: Bad Style! Pin
jhwurmbach17-Jan-07 1:48
jhwurmbach17-Jan-07 1:48 
QuestionHow to change menu font for particular application? Pin
Atul2316-Jan-07 19:28
Atul2316-Jan-07 19:28 
AnswerRe: How to change menu font for particular application? Pin
Rajesh R Subramanian16-Jan-07 19:30
professionalRajesh R Subramanian16-Jan-07 19:30 
GeneralRe: How to change menu font for particular application? Pin
Atul2316-Jan-07 19:39
Atul2316-Jan-07 19:39 
GeneralRe: How to change menu font for particular application? Pin
Rajesh R Subramanian16-Jan-07 20:02
professionalRajesh R Subramanian16-Jan-07 20:02 
AnswerRe: 16 Bin Pin
toxcct16-Jan-07 22:18
toxcct16-Jan-07 22:18 
Questionread unicode data Pin
manu_220516-Jan-07 19:09
manu_220516-Jan-07 19:09 
AnswerRe: read unicode data Pin
Don Box16-Jan-07 19:33
Don Box16-Jan-07 19:33 
Questionerror c2511: unresolved external symbol in EVC++ Pin
harshadha16-Jan-07 18:49
harshadha16-Jan-07 18:49 
AnswerRe: error c2511: unresolved external symbol in EVC++ Pin
prasad_som16-Jan-07 19:05
prasad_som16-Jan-07 19:05 
GeneralRe: error c2511: unresolved external symbol in EVC++ Pin
harshadha16-Jan-07 19:42
harshadha16-Jan-07 19:42 
AnswerRe: error c2511: unresolved external symbol in EVC++ Pin
Rajesh R Subramanian16-Jan-07 19:11
professionalRajesh R Subramanian16-Jan-07 19:11 
GeneralRe: error c2511: unresolved external symbol in EVC++ Pin
harshadha16-Jan-07 20:03
harshadha16-Jan-07 20:03 

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.