CB_GETLBTEXT notification to a program
I'm trying to modify the selection of a particular combobox. I have already retrieved the handle successfully. However, when I call the function as below, I cannot modify the combobox selection properly:

    r = SendMessage(cbox, CBN_SELCHANGE, 2, 0);

What would be the easiest method to accomplish what I want to do? Thanks in advance.
CB_GETLBTEXT notification to a program
===

I'm trying to modify the selection of a particular combobox. I have already retrieved the handle successfully. However, when I call the function as below, I cannot modify the combobox selection properly:

    r = SendMessage(cbox, CBN_SELCHANGE, 2, 0);

What would be the easiest method to accomplish what I want to do? Thanks in advance.