Click to See Complete Forum and Search --> : Combo box messages


gonzo48
October 15th, 2004, 11:29 PM
Can somebody point me to where I can find out more about combo box messages? Specifically, I want to filter out the messages I do not need When I do a:

case WM_COMMAND:
switch (LOWORD(wParam)) {
case IDC_COMBO_NAME:


I get more messages than I know what to do with. I only want to deal with the selection. but I cannot find any documentation on the use of wParam and lParam for combo box messages. When the user clicks on the arrow, I get a message; when I loose focus I get a message; when the user makes a new selection, I get three messages. I only want to handle a selection change.

How do I filter out the other messages?

thanks,

gonzo

gonzo48
October 15th, 2004, 11:47 PM
I finally found it : the CBN_SELCHANGE message in the HIWORD of wParam.

No need to replay---it is still comforting to know that there is a place I can go when I get stuck and need an answer.

Thanks,

gonzo