Click here to Skip to main content
15,888,079 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

I customize a CListBox, and handle ON_CONTROL_REFLECT(LBN_SELCHANGE,...) by a function in my control.I, however, still want to handle LBN_SELCHANGE in the dialog containing my control, but LBN_SELCHANGE msg is not sent to the parent dialog?!!

How can I notify to my control's parent dialog LBN_SELCHANGE after handle reflect msg?
Posted
Updated 2-Jun-11 15:26pm
v2

1 solution

pls try ON_CONTROL_REFLECT_EX instead of ON_CONTROL_REFLECT
 
Share this answer
 
Comments
quyps 5-Jun-11 22:26pm    
I did it. Use ON_CONTROL_REFLECT_EX, return FALSE in the handle function.
Thanks Resmi!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900